On Wed, Sep 26, 2012 at 10:38:01PM +0200, Daniel Walter wrote: > [staging] ft1000: replace strict_strtoul with kstrtoul > > * replace deprecated strict_strtoul with newer kstrtoul > > Signed-off-by: Daniel Walter <sahne@xxxxxxx> > --- > apply against current linux-next tree > --- > diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c > index 809fa48..792ac77 100644 > --- a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c > +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c > @@ -723,7 +723,7 @@ int init_ft1000_netdev(struct ft1000_device *ft1000dev) > if (strncmp(netdev->name, "eth", 3) == 0) { > card_nr[0] = netdev->name[3]; > card_nr[1] = '\0'; > - ret_val = strict_strtoul(card_nr, 10, &gCardIndex); > + ret_val = kstrtoul(card_nr, 10, &gCardIndex); Should be kstrtou8(). regards, dan carpenter > if (ret_val) { > printk(KERN_ERR "Can't parse netdev\n"); > goto err_net; > _______________________________________________ > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxx > http://driverdev.linuxdriverproject.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel