diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-10-13 20:41:51 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-10-21 13:34:46 +0300 |
commit | 03c0ad4b06c3566de624b4f4b78ac1a5d1e4c8e7 (patch) | |
tree | cabbfb2f18a90772cc1724d134cc46201a006927 /net/mac80211/main.c | |
parent | 66063033f77e10b985258126a97573f84bb8d3b4 (diff) | |
download | linux-03c0ad4b06c3566de624b4f4b78ac1a5d1e4c8e7.tar.xz |
wifi: cfg80211: silence a sparse RCU warning
All we're going to do with this pointer is assign it to
another __rcu pointer, but sparse can't see that, so
use rcu_access_pointer() to silence the warning here.
Fixes: c90b93b5b782 ("wifi: cfg80211: update hidden BSSes to avoid WARN_ON")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
0 files changed, 0 insertions, 0 deletions