[PATCH] staging: Note that simple_strtoul can't simply be replaced by kstrtoul

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Feb 24 14:38:00 EST 2019


Greg KH, le dim. 24 févr. 2019 08:59:21 +0100, a ecrit:
> On Sat, Feb 23, 2019 at 08:42:19PM +0100, Samuel Thibault wrote:
> > We often receive patches which erroneously try to use kstrtoul in these
> > places.
> > 
> > Signed-off-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
> 
> Awe, it's fun to try to see people do this and not really think about
> the consequences :)

Sure :)
But I have to say I'm a bit scared one of these could pass through :)

> Anyway, seriously, thanks for this, I'll go queue it up later today...

Thanks!

Samuel


More information about the Speakup mailing list