commit | 96bedb637a1e1ad8e7ed781fa020550aae2a8f16 | [log] [tgz] |
---|---|---|
author | John Youn <johnyoun@synopsys.com> | Mon May 23 11:32:47 2016 -0700 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jun 20 12:32:43 2016 +0300 |
tree | c8399c4469d711316e5fefe3954ab5a3062c5fec | |
parent | d07fa665c79d85fead080f4b611c3f7645576454 [diff] |
usb: dwc3: Endianness issue on dwc3_log_ctrl Sparse complains even though it looks ok. Probably it cannot detect that the wValue, wIndex, and wLength are declared __le16 due to the macro magic. Redeclare them as CPU endianness and make the conversion on assignment. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>