diff options
author | Kim Jae Joong <climbbb.kim@gmail.com> | 2016-12-07 12:12:10 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-12-08 17:50:08 +0100 |
commit | 651b297c9bc538934a8f2ba216cf5d2f1ac8f9c8 (patch) | |
tree | 40dca4cd4caa5edaa8f691374d7a9c8bba8e7281 /drivers/usb/misc | |
parent | usb: mtu3: fix U3 port link issue (diff) | |
download | linux-651b297c9bc538934a8f2ba216cf5d2f1ac8f9c8.tar.xz linux-651b297c9bc538934a8f2ba216cf5d2f1ac8f9c8.zip |
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 <climbbb.kim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r-- | drivers/usb/misc/rio500.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |