summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWahib Faizi <wahibfaizi@gmail.com>2014-06-12 23:40:19 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-17 15:42:39 -0700
commit25da2290ea9cab53d7865b4aaa3d7a31f2a65a94 (patch)
tree328ff14d3534b7a561bbdd1e5d1cae497491e7fd
parentda87dba81716adccec405470a76c8cc8b930aad8 (diff)
downloadlinux-stable-25da2290ea9cab53d7865b4aaa3d7a31f2a65a94.tar.gz
linux-stable-25da2290ea9cab53d7865b4aaa3d7a31f2a65a94.tar.bz2
linux-stable-25da2290ea9cab53d7865b4aaa3d7a31f2a65a94.zip
staging: usbip: usbip_host_driver.c: fix line over 80 characters
Fix coding style issue "line over 80 characters" detected by checkpatch.pl in usbip_host_driver.c. Signed-off-by: Wahib Faizi <wahibfaizi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c b/drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c
index 32b8f52ace21..bef08d5c44e8 100644
--- a/drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c
+++ b/drivers/staging/usbip/userspace/libsrc/usbip_host_driver.c
@@ -88,8 +88,8 @@ struct usbip_exported_device *usbip_exported_device_new(const char *sdevpath)
goto err;
/* reallocate buffer to include usb interface data */
- size = sizeof(struct usbip_exported_device) + edev->udev.bNumInterfaces *
- sizeof(struct usbip_usb_interface);
+ size = sizeof(struct usbip_exported_device) +
+ edev->udev.bNumInterfaces * sizeof(struct usbip_usb_interface);
edev_old = edev;
edev = realloc(edev, size);