From: Xenia Ragiadakou Date: Sat, 31 Aug 2013 15:09:13 +0000 (+0300) Subject: usbcore: fix incorrect type in assignment in usb_set_lpm_parameters() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~66^2~180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d96799524159f7c3e774a7b45a308780a26dc4d;p=pandora-kernel.git 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 Reported-by: kbuild test robot Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed