Skip to content
Commit cec3f0ed authored by Johannes Berg's avatar Johannes Berg
Browse files

cfg80211: use __force __rcu to suppress sparse warning



The code assigns a constant value (a pointer to a static variable)
to an RCU pointer, which results in a sparse warning:
  reg.c:112:10: warning: cast adds address space to expression (<asn:4>)

Suppress this warning by using __force.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 70e71ca0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment