Re: [BUG] common/usb.c: taking address of packed member of ‘struct usb_device_descriptor’ may result in an unaligned pointer value

Marek Vasut marex at denx.de
Mon Dec 16 14:53:52 CET 2019


On 12/16/19 10:44 AM, Heinrich Schuchardt wrote:
> Hello Marek,

Hi,

> with powerpc64-linux-gnu-gcc, version 9.2.1, big endian I see the errors
> below.

Are you building this with some additional extra flags ?

> struct usb_device_descriptor is naturally packed. Why do we need the
> packed attribute in include/linux/usb/ch9.h?

Did you check git log ? Maybe there is some hint.

[...]


More information about the U-Boot mailing list