[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171230161151.GA10527@ewexler>
Date: Sat, 30 Dec 2017 18:11:51 +0200
From: Elad Wexler <elad.wexler@...il.com>
To: valentina.manea.m@...il.com, shuah@...nel.org
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] tools: usb: usbip_device_driver: prefer 'unsigned int' to
'unsigned'
Fixup a coding style issue
Signed-off-by: Elad Wexler <elad.wexler@...il.com>
---
tools/usb/usbip/libsrc/usbip_device_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/usb/usbip/libsrc/usbip_device_driver.c b/tools/usb/usbip/libsrc/usbip_device_driver.c
index e059b7d..b2dac82 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;
--
2.7.4
Powered by blists - more mailing lists