lkml.org 
[lkml]   [2014]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/2] staging: usbip: usbip_host_driver.c: fix line over 80 characters
    Date
    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>
    ---
    .../usbip/userspace/libsrc/usbip_host_driver.c | 4 ++--
    1 file 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 32b8f52..bef08d5 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);
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2014-06-12 21:41    [W:5.307 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site