Re: [PATCH 1/3] usb: xhci: tegra: Firmware header is little endian

2018-09-20 Thread Greg KH
On Mon, Sep 17, 2018 at 08:40:44AM +0200, Thierry Reding wrote: > On Fri, Sep 14, 2018 at 03:01:22PM +0200, Greg KH wrote: > > On Fri, Sep 14, 2018 at 03:33:29PM +0300, Mathias Nyman wrote: > > > From: Thierry Reding > > > > > > The XUSB firmware header is in little endian byte order, so make

Re: [PATCH 1/3] usb: xhci: tegra: Firmware header is little endian

2018-09-17 Thread Thierry Reding
On Fri, Sep 14, 2018 at 03:01:22PM +0200, Greg KH wrote: > On Fri, Sep 14, 2018 at 03:33:29PM +0300, Mathias Nyman wrote: > > From: Thierry Reding > > > > The XUSB firmware header is in little endian byte order, so make the > > fields __le32 and __le16 instead of u32 and u16 to avoid warnings

Re: [PATCH 1/3] usb: xhci: tegra: Firmware header is little endian

2018-09-14 Thread Greg KH
On Fri, Sep 14, 2018 at 03:33:29PM +0300, Mathias Nyman wrote: > From: Thierry Reding > > The XUSB firmware header is in little endian byte order, so make the > fields __le32 and __le16 instead of u32 and u16 to avoid warnings from > sparse when the fields are used with the endian-aware

[PATCH 1/3] usb: xhci: tegra: Firmware header is little endian

2018-09-14 Thread Mathias Nyman
From: Thierry Reding The XUSB firmware header is in little endian byte order, so make the fields __le32 and __le16 instead of u32 and u16 to avoid warnings from sparse when the fields are used with the endian-aware __le32_to_cpu() and __le16_to_cpu() accessors, respectively. Signed-off-by: