summaryrefslogtreecommitdiff
path: root/drivers/usb/c67x00/c67x00.h
diff options
context:
space:
mode:
authorXenia Ragiadakou <burzalodowa@gmail.com>2013-08-31 15:09:13 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-17 16:49:24 (GMT)
commit4d96799524159f7c3e774a7b45a308780a26dc4d (patch)
tree5fe14608b17644ff0296debcb41cfcd0096efe24 /drivers/usb/c67x00/c67x00.h
parent9df89d85b407690afa46ddfbccc80bec6869971d (diff)
downloadlinux-4d96799524159f7c3e774a7b45a308780a26dc4d.tar.xz
usbcore: fix incorrect type in assignment in usb_set_lpm_parameters()
In the bos usb_ss_cap_descriptor structure, bU2DevExitLat is of type __le16. This value is used as it is, without being first converted to the CPU byteorder, for the setup of usb device's usb3_lpm_parameters. This patch fixes that by converting bU2DevExitLat field to the CPU byteorder before the assignmenment to [udev/hub]_u2_del variables. Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/c67x00/c67x00.h')
0 files changed, 0 insertions, 0 deletions