The obsolete function strict_strtoul was once again called and thus replaced by kstrouint. The variable midi_mask_recieve is also of type int therefore a conversion to long was not necessary. Signed-off-by: Andor Daam <andor.daam@xxxxxxxxxxxxxx> --- drivers/staging/line6/midi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/line6/midi.c b/drivers/staging/line6/midi.c index fb87829..773fbbe 100644 --- a/drivers/staging/line6/midi.c +++ b/drivers/staging/line6/midi.c @@ -339,10 +339,10 @@ static ssize_t midi_set_midi_mask_receive(struct device *dev, { struct usb_interface *interface = to_usb_interface(dev); struct usb_line6 *line6 = usb_get_intfdata(interface); - unsigned long value; + unsigned int value; int ret; - ret = strict_strtoul(buf, 10, &value); + ret = kstrtouint(buf, 10, &value); if (ret) return ret; -- 1.7.5.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel