diff options
| author | Jakub Kicinski <[email protected]> | 2022-05-20 19:43:17 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-05-23 00:23:06 +0000 |
| commit | af3cdfd30c631dd6bb56933d67a0f0df2980b7d1 (patch) | |
| tree | dcdd50c2644bf80640f03f131c39bef45d09983d /net/unix/af_unix.c | |
| parent | wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12 (diff) | |
| download | kernel-af3cdfd30c631dd6bb56933d67a0f0df2980b7d1.tar.gz kernel-af3cdfd30c631dd6bb56933d67a0f0df2980b7d1.zip | |
wifi: iwlwifi: use unsigned to silence a GCC 12 warning
GCC 12 says:
drivers/net/wireless/intel/iwlwifi/mvm/sta.c:1076:37: warning: array subscript -1 is below array bounds of ‘struct iwl_mvm_tid_data[9]’ [-Warray-bounds]
1076 | if (mvmsta->tid_data[tid].state != IWL_AGG_OFF)
| ~~~~~~~~~~~~~~~~^~~~~
Whatever, tid is a bit from for_each_set_bit(), it's clearly unsigned.
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
