Re: [PATCH] wl3501: fix alignment constraints

2021-02-08 Thread Kalle Valo
Arnd Bergmann wrote: > From: Arnd Bergmann > > struct wl3501_80211_tx_hdr contains a ieee80211_hdr structure, which is > required to have at least two byte alignment, and this conflicts with > the __packed attribute: > > wireless/wl3501.h:553:1: warning: alignment 1 of 'struct wl3501_80211_tx_

[PATCH] wl3501: fix alignment constraints

2021-02-04 Thread Arnd Bergmann
From: Arnd Bergmann struct wl3501_80211_tx_hdr contains a ieee80211_hdr structure, which is required to have at least two byte alignment, and this conflicts with the __packed attribute: wireless/wl3501.h:553:1: warning: alignment 1 of 'struct wl3501_80211_tx_hdr' is less than 2 [-Wpacked-not-al