summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/dvm
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-08-28 10:54:39 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-09-11 12:27:23 +0300
commite8c1841278a78362f7034f3de415096ddb19f097 (patch)
tree2c5068e9417c0a71d8cf3ca199bd667657af2498 /drivers/net/wireless/intel/iwlwifi/dvm
parent05f136220d17839eb7c155f015ace9152f603225 (diff)
downloadlinux-e8c1841278a78362f7034f3de415096ddb19f097.tar.xz
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 <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/dvm')
0 files changed, 0 insertions, 0 deletions