mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
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>
This commit is contained in:
parent
ee264346fa
commit
a06a24d2b7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue