diff options
author | Alexey Tulia | 2014-06-13 10:35:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-06-18 23:08:58 +0200 |
commit | a06a24d2b7c1e17dafd63a793cf9ec243985bbd1 (patch) | |
tree | a3898c6c4fc5436b3835030858627ad331498f9a /drivers/staging/usbip | |
parent | staging: rtl8723au: Add compiler check for -Wtype-limits (diff) | |
download | kernel-qcow2-linux-a06a24d2b7c1e17dafd63a793cf9ec243985bbd1.tar.gz kernel-qcow2-linux-a06a24d2b7c1e17dafd63a793cf9ec243985bbd1.tar.xz kernel-qcow2-linux-a06a24d2b7c1e17dafd63a793cf9ec243985bbd1.zip |
staging: usbip: fixed a coding-style warning
This fixes the following warning:
- WARNING: __constant_cpu_to_le32 should be cpu_to_le32
Signed-off-by: Alexey Tulia <alexey.tulia@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/usbip')
-rw-r--r-- | drivers/staging/usbip/vhci_hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c index 0007d30e45bd..e21c1b4d09ed 100644 --- a/drivers/staging/usbip/vhci_hcd.c +++ b/drivers/staging/usbip/vhci_hcd.c @@ -304,7 +304,7 @@ static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, break; case GetHubStatus: usbip_dbg_vhci_rh(" GetHubStatus\n"); - *(__le32 *) buf = __constant_cpu_to_le32(0); + *(__le32 *) buf = cpu_to_le32(0); break; case GetPortStatus: usbip_dbg_vhci_rh(" GetPortStatus port %x\n", wIndex); |