On Sat, Feb 1, 2014 at 12:45 AM, <a...@linux-foundation.org> 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, otherwise case-insensivity and what not will be added some day. Shell will trim whitespace for you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/