summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorElad Wexler <elad.wexler@gmail.com>2017-12-30 18:11:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-04 17:05:55 +0100
commit5c65a2fdb36b21c3f6ac534c5e12f81cf67726b1 (patch)
tree133c0f6a3ef40496be24e7ee5c7e15ebb3d3ae0b /tools
parent55448d85ae2f7f2b6c43d66946146ec89b4eb088 (diff)
tools: usb: usbip_device_driver: prefer 'unsigned int' to 'unsigned'
Fixup a coding style issue Signed-off-by: Elad Wexler <elad.wexler@gmail.com> Acked-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/usb/usbip/libsrc/usbip_device_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/usb/usbip/libsrc/usbip_device_driver.c b/tools/usb/usbip/libsrc/usbip_device_driver.c
index e059b7d1ec5b..b2dac82975af 100644
--- a/tools/usb/usbip/libsrc/usbip_device_driver.c
+++ b/tools/usb/usbip/libsrc/usbip_device_driver.c
@@ -77,7 +77,7 @@ int read_usb_vudc_device(struct udev_device *sdev, struct usbip_usb_device *dev)
const char *path, *name;
char filepath[SYSFS_PATH_MAX];
struct usb_device_descriptor descr;
- unsigned i;
+ unsigned int i;
FILE *fd = NULL;
struct udev_device *plat;
const char *speed;