[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVxJT-HUXmBepz-GW3T1+ANkSxt80=1-kNFyHLdk+RRjHaWQQ@mail.gmail.com>
Date: Mon, 3 Feb 2014 12:58:45 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
Cc: mm-commits@...r.kernel.org, David Rientjes <rientjes@...gle.com>,
Joe Perches <joe@...ches.com>, sebastian.capella@...aro.org
Subject: Re: + mm-utilc-add-kstrimdup.patch added to -mm tree
On Sat, Feb 1, 2014 at 12:45 AM, <akpm@...ux-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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists