Re: [PATCH] Implement leftpad syscall

2016-04-01 Thread Scotty Bauer
On 03/31/2016 04:33 PM, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. > > Signed-off-by:

Re: [PATCH] Implement leftpad syscall

2016-04-01 Thread Scotty Bauer
On 03/31/2016 04:33 PM, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. > > Signed-off-by: David Gstir >

Re: [PATCH] Implement leftpad syscall

2016-04-01 Thread Richard Cochran
On Fri, Apr 01, 2016 at 12:33:32AM +0200, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. > >

Re: [PATCH] Implement leftpad syscall

2016-04-01 Thread Richard Cochran
On Fri, Apr 01, 2016 at 12:33:32AM +0200, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. > > Signed-off-by: David

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread kbuild test robot
Hi David, [auto build test ERROR on v4.6-rc1] [also build test ERROR on next-20160331] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread kbuild test robot
Hi David, [auto build test ERROR on v4.6-rc1] [also build test ERROR on next-20160331] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread Frederic Weisbecker
On Fri, Apr 01, 2016 at 12:33:32AM +0200, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. > >

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread Frederic Weisbecker
On Fri, Apr 01, 2016 at 12:33:32AM +0200, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. > > Signed-off-by: David

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread Greg KH
On Fri, Apr 01, 2016 at 12:33:32AM +0200, Richard Weinberger wrote: > + if (dst_len <= len || dst_len > 4096) { > + return -EINVAL; > + } Please always use checkpatch.pl when submitting patches. thanks, greg k-h

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread Greg KH
On Fri, Apr 01, 2016 at 12:33:32AM +0200, Richard Weinberger wrote: > + if (dst_len <= len || dst_len > 4096) { > + return -EINVAL; > + } Please always use checkpatch.pl when submitting patches. thanks, greg k-h

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread Michael Kerrisk (man-pages)
On 04/01/2016 11:33 AM, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. Works can't express

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread Michael Kerrisk (man-pages)
On 04/01/2016 11:33 AM, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. Works can't express the importance of

[PATCH] Implement leftpad syscall

2016-03-31 Thread Richard Weinberger
From: David Gstir Implement the leftpad() system call such that userspace, especially node.js applications, can in the near future directly use it and no longer depend on fragile npm packages. Signed-off-by: David Gstir Signed-off-by: Richard

[PATCH] Implement leftpad syscall

2016-03-31 Thread Richard Weinberger
From: David Gstir Implement the leftpad() system call such that userspace, especially node.js applications, can in the near future directly use it and no longer depend on fragile npm packages. Signed-off-by: David Gstir Signed-off-by: Richard Weinberger ---