Re: + mm-utilc-add-kstrimdup.patch added to -mm tree

2014-02-03 Thread Andrew Morton
On Mon, 03 Feb 2014 17:28:16 -0800 Sebastian Capella wrote: > Quoting David Rientjes (2014-02-03 17:05:04) > > The last we heard, I think Sebastian is looking to redo this series and > > this patch is no longer needed. Sebastian? > Hi David, Alexey, > > I am in the process of reworking the pa

Re: + mm-utilc-add-kstrimdup.patch added to -mm tree

2014-02-03 Thread David Rientjes
On Mon, 3 Feb 2014, Sebastian Capella wrote: > I am in the process of reworking the patches. I'm not sure if Andrew > was just interested in having the kstrimdup utility function available. > I think the point Alexey is making is that whitespace is already stripped by the shell unless quoted;

Re: + mm-utilc-add-kstrimdup.patch added to -mm tree

2014-02-03 Thread Sebastian Capella
Quoting David Rientjes (2014-02-03 17:05:04) > The last we heard, I think Sebastian is looking to redo this series and > this patch is no longer needed. Sebastian? Hi David, Alexey, I am in the process of reworking the patches. I'm not sure if Andrew was just interested in having the kstrimdup

Re: + mm-utilc-add-kstrimdup.patch added to -mm tree

2014-02-03 Thread David Rientjes
On Mon, 3 Feb 2014, Alexey Dobriyan wrote: > > kstrimdup() creates a whitespace-trimmed duplicate of the passed in > > null-terminated string. This is useful for strings coming from sysfs that > > often include trailing whitespace due to user input. > > I think kernel should be strict in what it

Re: + mm-utilc-add-kstrimdup.patch added to -mm tree

2014-02-03 Thread Alexey Dobriyan
On Sat, Feb 1, 2014 at 12:45 AM, wrote: > kstrimdup() creates a whitespace-trimmed duplicate of the passed in > null-terminated string. This is useful for strings coming from sysfs that > often include trailing whitespace due to user input. I think kernel should be strict in what it accepts, ot