Re: [U-Boot] [PATCH v1] gcc-9: silence 'address-of-packed-member' warning

2020-01-10 Thread Tom Rini
On Fri, Nov 29, 2019 at 07:47:59PM +0200, Andy Shevchenko wrote: > GCC 9.x starts complaining about potential misalignment of the pointer to > the array (in this case alignment=2) in the packed (alignment=1) structures. > > Repeating Linus' Torvalds commit 6f303d60534c in the Linux kernel. > >

Re: [U-Boot] [PATCH v1] gcc-9: silence 'address-of-packed-member' warning

2019-11-29 Thread Tom Rini
On Fri, Nov 29, 2019 at 09:29:51PM +0100, Simon Goldschmidt wrote: > > [bringing this back to the list, seems like I accidentally hit the single > reply button before] > > On 29.11.19 21:02, Andy Shevchenko wrote: > > On Fri, Nov 29, 2019 at 06:56:44PM +0100, Simon Goldschmidt wrote: > > > Andy

Re: [U-Boot] [PATCH v1] gcc-9: silence 'address-of-packed-member' warning

2019-11-29 Thread Simon Goldschmidt
[bringing this back to the list, seems like I accidentally hit the single reply button before] On 29.11.19 21:02, Andy Shevchenko wrote: On Fri, Nov 29, 2019 at 06:56:44PM +0100, Simon Goldschmidt wrote: Andy Shevchenko schrieb am Fr., 29. Nov. 2019, 18:48: GCC 9.x starts complaining

Re: [U-Boot] [PATCH v1] gcc-9: silence 'address-of-packed-member' warning

2019-11-29 Thread Tom Rini
On Fri, Nov 29, 2019 at 07:47:59PM +0200, Andy Shevchenko wrote: > GCC 9.x starts complaining about potential misalignment of the pointer to > the array (in this case alignment=2) in the packed (alignment=1) structures. > > Repeating Linus' Torvalds commit 6f303d60534c in the Linux kernel. > >

[U-Boot] [PATCH v1] gcc-9: silence 'address-of-packed-member' warning

2019-11-29 Thread Andy Shevchenko
GCC 9.x starts complaining about potential misalignment of the pointer to the array (in this case alignment=2) in the packed (alignment=1) structures. Repeating Linus' Torvalds commit 6f303d60534c in the Linux kernel. Original commit message: We already did this for clang, but now gcc has