summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRuslan Bilovol <ruslan.bilovol@gmail.com>2019-07-07 15:17:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-29 10:21:46 +0100
commit022017da2274e301918aba1cf51ea07174229933 (patch)
tree85e8c50d922f2c1f49c3e7bcf549a64b9a3e282b /scripts
parent572cf7e0d1e133b17fdc9bcf0393d5ae21686470 (diff)
usb: host: xhci-hub: fix extra endianness conversion
[ Upstream commit 6269e4c76eacabaea0d0099200ae1a455768d208 ] Don't do extra cpu_to_le32 conversion for put_unaligned_le32 because it is already implemented in this function. Fixes sparse error: xhci-hub.c:1152:44: warning: incorrect type in argument 1 (different base types) xhci-hub.c:1152:44: expected unsigned int [usertype] val xhci-hub.c:1152:44: got restricted __le32 [usertype] Fixes: 395f540 "xhci: support new USB 3.1 hub request to get extended port status" Cc: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com> Link: https://lore.kernel.org/r/1562501839-26522-1-git-send-email-ruslan.bilovol@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions