Browse Source

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>
Kim Jae Joong 8 years ago
parent
commit
651b297c9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/misc/rio500.c

+ 1 - 1
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) {
 		} else if (result != -EREMOTEIO) {
 			mutex_unlock(&(rio->lock));
 			mutex_unlock(&(rio->lock));
 			dev_err(&rio->rio_dev->dev,
 			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);
 				result, partial, this_read);
 			return -EIO;
 			return -EIO;
 		} else {
 		} else {