On Mon, 2013-04-01 at 12:18 +0300, Dan Carpenter wrote: 
> On Wed, Mar 27, 2013 at 05:44:55PM +0200, Andy Shevchenko wrote:
> > We have simple_strtoul and simple_strtol. Don't repeat their functionality
> > here.
> > 
> 
> Run your patches through checkpatch.pl.  It will tell you do use
> kstrtoul() instead of simple_strtoul().

Unfortunately kstrto* have limitation - it works only on null-terminated
"number" strings, which is not a case here and in many other places in
kernel where input is more complicated than just a plain number in ascii
form.

-- 
Andy Shevchenko <[email protected]>
Intel Finland Oy
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to