Re: [PATCH][next] wifi: ath12k: Avoid -Wflex-array-member-not-at-end warnings

2024-09-05 Thread Kalle Valo
"Gustavo A. R. Silva" wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Move the conflicting declaration to the end of the structure. Notice > that `struct ieee80211_chanctx_conf` is a flexible structure --a > structure that

Re: [PATCH][next] wifi: ath12k: Avoid -Wflex-array-member-not-at-end warnings

2024-08-22 Thread Jeff Johnson
On 8/22/2024 9:51 AM, Kalle Valo wrote: > "Gustavo A. R. Silva" wrote: > >> -Wflex-array-member-not-at-end was introduced in GCC-14, and we are >> getting ready to enable it, globally. >> >> Move the conflicting declaration to the end of the structure. Notice >> that `struct ieee80211_chanctx_con

Re: [PATCH][next] wifi: ath12k: Avoid -Wflex-array-member-not-at-end warnings

2024-08-22 Thread Kalle Valo
"Gustavo A. R. Silva" wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Move the conflicting declaration to the end of the structure. Notice > that `struct ieee80211_chanctx_conf` is a flexible structure --a > structure that

[PATCH][next] wifi: ath12k: Avoid -Wflex-array-member-not-at-end warnings

2024-08-09 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Move the conflicting declaration to the end of the structure. Notice that `struct ieee80211_chanctx_conf` is a flexible structure --a structure that contains a flexible-array member. Also, re