[lkml]   [2005]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][CFLART] ipmi procfs bogosity
On Thu, Sep 01, 2005 at 03:00:44PM -0500, Corey Minyard wrote:
> To me, It's a lot nicer to do:
> rv = user_strtoul(....);
> if (rv < 0)
> return rv;
> Plus the scanning function I wrote handles arbitrary leading and
> trailing space, etc. Not a big deal, but a little nicer.

You can say from the beggining that

echo -n " 2 " >/proc/FUBAR

is illegal and don't add bloat to kernel.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-09-01 22:23    [W:0.052 / U:5.188 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site