Commit d5acaac4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Linus Torvalds

USB: fix sparse warning in ehci-hcd driver.

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 79477b6b
...@@ -286,7 +286,7 @@ ehci_hub_descriptor ( ...@@ -286,7 +286,7 @@ ehci_hub_descriptor (
if (HCS_INDICATOR (ehci->hcs_params)) if (HCS_INDICATOR (ehci->hcs_params))
temp |= 0x0080; /* per-port indicators (LEDs) */ temp |= 0x0080; /* per-port indicators (LEDs) */
#endif #endif
desc->wHubCharacteristics = cpu_to_le16 (temp); desc->wHubCharacteristics = (__force __u16)cpu_to_le16 (temp);
} }
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment