Skip to contentSkip to conversation

tools: usb: usbip_device_driver: prefer 'unsigned int' to 'unsigned'

PATCH In review Elad Wexler 2 participants 2 messages Dec 30, 2017 – Jan 2, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: usb: usbip_device_driver: prefer 'unsigned int' to 'unsigned'

Fixup a coding style issue

---
 tools/usb/usbip/libsrc/usbip_device_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/usb/usbip/libsrc/usbip_device_driver.c +1 -1
index e059b7d..b2dac82 100644
@@ -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;