[PATCH 1/2] usb: ehci: fix include/usb/usb.h:'struct usb_configuration' misuse

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 1 22:53:58 PDT 2015


On Tue, Sep 01, 2015 at 03:48:07PM +0300, Antony Pavlov wrote:
> See the commit
> 
>     commit 245069bcef15ecc19db616a967501349b76c84d0
>     Author: Sascha Hauer <s.hauer at pengutronix.de>
>     Date:   Thu Jul 10 11:36:12 2014 +0200
> 
>         USB: introduce usb_interface/usb_configuration structs
> 
> On little endian systems like ARM the le16_to_cpus() macro
> is a no op, defined as:
> 
>     #define le16_to_cpus __le16_to_cpus
>     #define __le16_to_cpus(x) do {} while (0)
> 
> So struct usb_configuration field misuse was discovered
> on big-endian MIPS machine.
> 
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list