aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-05-20 19:43:14 +0000
committerJakub Kicinski <[email protected]>2022-05-23 00:23:05 +0000
commite95032988053c17baf6c7e27024f5103a19a5f4a (patch)
treeb7d515f4dcb15ec18c0a226b1e505eacf44afeb2 /net/unix/af_unix.c
parentwifi: plfxlc: remove redundant NULL-check for GCC 12 (diff)
downloadkernel-e95032988053c17baf6c7e27024f5103a19a5f4a.tar.gz
kernel-e95032988053c17baf6c7e27024f5103a19a5f4a.zip
wifi: ath9k: silence array-bounds warning on GCC 12
GCC 12 says: drivers/net/wireless/ath/ath9k/mac.c: In function ‘ath9k_hw_resettxqueue’: drivers/net/wireless/ath/ath9k/mac.c:373:22: warning: array subscript 32 is above array bounds of ‘struct ath9k_tx_queue_info[10]’ [-Warray-bounds] 373 | qi = &ah->txq[q]; | ~~~~~~~^~~ I don't know where it got the 32 from, relegate the warning to W=1+. Acked-by: Kalle Valo <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions