Files
linux/drivers/net/wireless/ath/ath9k
Jakub Kicinski e950329880 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 <kvalo@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-22 17:23:05 -07:00
..
2022-04-23 12:32:42 +03:00
2022-01-28 14:32:19 +02:00
2021-08-29 10:12:33 +03:00
2021-10-13 08:48:14 +03:00
2021-07-02 14:39:59 +03:00