diff options
author | Pawel Lebioda | 2014-05-14 19:20:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-05-23 18:59:36 +0200 |
commit | 3eed8c0387106535cade04357040a37a4c8c4cc6 (patch) | |
tree | ddc9540d273db72db79d738fbae078c918bacc9c /drivers/staging/usbip/usbip_common.h | |
parent | staging: rtl8712: usb_intf.c: Fix for possible null pointer dereference (diff) | |
download | kernel-qcow2-linux-3eed8c0387106535cade04357040a37a4c8c4cc6.tar.gz kernel-qcow2-linux-3eed8c0387106535cade04357040a37a4c8c4cc6.tar.xz kernel-qcow2-linux-3eed8c0387106535cade04357040a37a4c8c4cc6.zip |
Staging: usbip: missing a blank lines after declarations
Fix "Missing a blank line after declaration" style problems
for all files in drivers/staging/usbip.
Signed-off-by: Pawel Lebioda <pawel.lebioda89@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/usbip/usbip_common.h')
-rw-r--r-- | drivers/staging/usbip/usbip_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/usbip/usbip_common.h b/drivers/staging/usbip/usbip_common.h index f555d834f134..4da3866a037d 100644 --- a/drivers/staging/usbip/usbip_common.h +++ b/drivers/staging/usbip/usbip_common.h @@ -321,12 +321,14 @@ int usbip_event_happened(struct usbip_device *ud); static inline int interface_to_busnum(struct usb_interface *interface) { struct usb_device *udev = interface_to_usbdev(interface); + return udev->bus->busnum; } static inline int interface_to_devnum(struct usb_interface *interface) { struct usb_device *udev = interface_to_usbdev(interface); + return udev->devnum; } |