commit | 7e184c28636dce594426cd7d8781d52d1dd447cd | [log] [tgz] |
---|---|---|
author | Ahmed S. Darwish <ahmed.darwish@valeo.com> | Sun Mar 15 11:10:49 2015 -0400 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Sun Mar 22 18:14:50 2015 +0100 |
tree | 5f15c918647b3a747ef75fc4958df18f61d8e34f | |
parent | 082d70b6142f623c10f7a032d9b63a2399fb4ded [diff] |
can: kvaser_usb: Fix sparse warning __le16 degrades to integer USB endpoint's wMaxPacketSize field is an le16 entity. Use appropriate le16_to_cpu macros to maintain endian independence. Reported-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Ahmed S. Darwish <ahmed.darwish@valeo.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>