[PATCH V2 1/2] staging: tidspbridge: replace strict_strtol() with kstrtos32()

Dan Carpenter dan.carpenter at oracle.com
Wed Jul 24 07:08:51 UTC 2013


On Wed, Jul 24, 2013 at 02:34:08PM +0900, Jingoo Han wrote:
> The usage of strict_strtol() is not preferred, because
> strict_strtol() is obsolete. Thus, kstrtos32() should be
> used in order to convert a string to s32. Also, error handling
> is added to get rid of a __must_check warning.

Also you fixed a memory corruption bug.  :)

Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>

regards,
dan carpenter



More information about the devel mailing list