On Wed, Nov 26, 2014 at 12:14 PM, Athira Lekshmi C V <andnlnbn18@xxxxxxxxx> wrote: > Fixed the checkpatch warning: > WARNING: simple_strtoul is obsolete, use kstrtoul instead > > Signed-off-by: Athira Lekshmi C V <andnlnbn18@xxxxxxxxx> > --- > drivers/staging/speakup/varhandlers.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/speakup/varhandlers.c b/drivers/staging/speakup/varhandlers.c > index 1b0d1c0..00fd67e 100644 > --- a/drivers/staging/speakup/varhandlers.c > +++ b/drivers/staging/speakup/varhandlers.c > @@ -324,7 +324,7 @@ char *spk_s2uchar(char *start, char *dest) > { > int val = 0; > > - val = simple_strtoul(skip_spaces(start), &start, 10); > + val = kstrtoul(skip_spaces(start), &start, 10); > if (*start == ',') > start++; > *dest = (u_char)val; NACK. Please test your patch or at least read the function signature kstrtoul(). -- Thanks, //richard _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel