From: Kim Jae Joong Date: Wed, 7 Dec 2016 11:12:10 +0000 (+0900) Subject: usb: misc: rio500: fix result type for error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=651b297c9bc538934a8f2ba216cf5d2f1ac8f9c8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git usb: misc: rio500: fix result type for error message Fix variable type for dev_err about usb_bulk_msg() Signed-off-by: Kim Jae Joong Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/misc/rio500.c b/drivers/usb/misc/rio500.c index 13731d512624..fc329c98a6e8 100644 --- a/drivers/usb/misc/rio500.c +++ b/drivers/usb/misc/rio500.c @@ -421,7 +421,7 @@ read_rio(struct file *file, char __user *buffer, size_t count, loff_t * ppos) } else if (result != -EREMOTEIO) { mutex_unlock(&(rio->lock)); dev_err(&rio->rio_dev->dev, - "Read Whoops - result:%u partial:%u this_read:%u\n", + "Read Whoops - result:%d partial:%u this_read:%u\n", result, partial, this_read); return -EIO; } else {