Signed-off-by: Sunny Kumar <sunny.kumar.roy@xxxxxxxxx> --- drivers/usb/storage/usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index 6c10c88..a0c0f66 100644 --- a/drivers/usb/storage/usb.c +++ b/drivers/usb/storage/usb.c @@ -485,9 +485,9 @@ void usb_stor_adjust_quirks(struct usb_device *udev, unsigned long *fflags) p = quirks; while (*p) { /* Each entry consists of VID:PID:flags */ - if (vid == simple_strtoul(p, &p, 16) && + if (vid == kstrtoul(p, &p, 16) && *p == ':' && - pid == simple_strtoul(p+1, &p, 16) && + pid == kstrtoul(p+1, &p, 16) && *p == ':') break; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html