Re: [PATCH] carl9170: fix struct alignment conflict

2021-02-08 Thread Kalle Valo
Arnd Bergmann wrote: > Multiple structures in the carl9170 driver have alignment > impossible alignment constraints that gcc warns about when > building with 'make W=1': > > drivers/net/wireless/ath/carl9170/fwcmd.h:243:2: warning: alignment 1 of > 'union ' is less than 4 [-Wpacked-not-aligned]

RE: [PATCH] carl9170: fix struct alignment conflict

2021-02-05 Thread David Laight
From: Arnd Bergmann > Sent: 04 February 2021 16:29 > > Multiple structures in the carl9170 driver have alignment > impossible alignment constraints that gcc warns about when > building with 'make W=1': > > drivers/net/wireless/ath/carl9170/fwcmd.h:243:2: warning: alignment 1 of > 'union ' is les

Re: [PATCH] carl9170: fix struct alignment conflict

2021-02-04 Thread Christian Lamparter
On 04/02/2021 17:29, Arnd Bergmann wrote: From: Arnd Bergmann Multiple structures in the carl9170 driver have alignment impossible alignment constraints that gcc warns about when building with 'make W=1': drivers/net/wireless/ath/carl9170/fwcmd.h:243:2: warning: alignment 1 of 'union ' is les

[PATCH] carl9170: fix struct alignment conflict

2021-02-04 Thread Arnd Bergmann
From: Arnd Bergmann Multiple structures in the carl9170 driver have alignment impossible alignment constraints that gcc warns about when building with 'make W=1': drivers/net/wireless/ath/carl9170/fwcmd.h:243:2: warning: alignment 1 of 'union ' is less than 4 [-Wpacked-not-aligned] drivers/net/