diff options
| author | Johannes Berg <[email protected]> | 2023-08-28 07:54:39 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2023-09-11 09:27:23 +0000 |
| commit | e8c1841278a78362f7034f3de415096ddb19f097 (patch) | |
| tree | 2c5068e9417c0a71d8cf3ca199bd667657af2498 /drivers/net/wireless/intel/iwlegacy/common.c | |
| parent | wifi: mac80211: fix BA session teardown race (diff) | |
| download | kernel-e8c1841278a78362f7034f3de415096ddb19f097.tar.gz kernel-e8c1841278a78362f7034f3de415096ddb19f097.zip | |
wifi: cfg80211: annotate iftype_data pointer with sparse
There were are a number of cases in mac80211 and iwlwifi (at
least) that used the sband->iftype_data pointer directly,
instead of using the accessors to find the right array entry
to use.
Make sparse warn when such a thing is done.
To not have a lot of casts, add two helper functions/macros
- ieee80211_set_sband_iftype_data()
- for_each_sband_iftype_data()
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/common.c')
0 files changed, 0 insertions, 0 deletions
