summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/quirks.c
diff options
context:
space:
mode:
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>2014-04-25 23:18:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-25 23:56:16 +0200
commitd5dbd3f7d82223b59dc2200c0e9f4f95665a21a4 (patch)
treefe6d0973a037164794a0bee13e873c8766381dd8 /drivers/pnp/quirks.c
parentusb: ftdi-elan: Use pr_<level> (diff)
downloadlinux-d5dbd3f7d82223b59dc2200c0e9f4f95665a21a4.tar.xz
linux-d5dbd3f7d82223b59dc2200c0e9f4f95665a21a4.zip
usb: dwc2: fix sparse warning
Sparse warns about the __le16 wValue from the USB SetAddress command being used without converting it to CPU endianness. Fix that, and also add a bit of defensive masking of the received wValue before using it. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pnp/quirks.c')
0 files changed, 0 insertions, 0 deletions