staging: usbip: fixed a coding-style warning
authorAlexey Tulia <alexey.tulia@gmail.com>
Fri, 13 Jun 2014 08:35:13 +0000 (11:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 21:08:58 +0000 (14:08 -0700)
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>
drivers/staging/usbip/vhci_hcd.c

index 0007d30e45bd2ac408478b91d0188d6024a8cd6b..e21c1b4d09ed5b3330e84183b10ee068ee9b5443 100644 (file)
@@ -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);