diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2024-08-16 13:12:39 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-09-05 19:20:21 +0300 |
commit | 02f454f9aa6255d99611d6a4e37edd08812878df (patch) | |
tree | b0fc9d353a1e038db6d4c4520dcad14775414b47 /net/ipv4/tcp_timer.c | |
parent | 820aa897837ff6c156f60423f82c0cb1d9b18103 (diff) | |
download | linux-02f454f9aa6255d99611d6a4e37edd08812878df.tar.gz linux-02f454f9aa6255d99611d6a4e37edd08812878df.tar.bz2 linux-02f454f9aa6255d99611d6a4e37edd08812878df.zip |
wifi: ath12k: Avoid -Wflex-array-member-not-at-end warnings
-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, remove an unused structure.
Fix the following warnings:
drivers/net/wireless/ath/ath12k/core.h:290:39: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
drivers/net/wireless/ath/ath12k/dp.h:1499:24: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/ZrZEuxJihMzAaTVh@cute
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions