cfg80211: fix -Wcast-qual warnings
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Feb 2022 08:49:39 +0000 (10:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:25:10 +0000 (16:25 +0100)
commit7e367b06f16b3d22e884af55117601d2a73fca03
tree09ca8cdd02bc8139cd6b3c28095c7a4c19d09fb4
parentbed89478934a9803d1a4d97574dcc30e509aa972
cfg80211: fix -Wcast-qual warnings

When enabling -Wcast-qual e.g. via W=3, we get a lot of
warnings from this file, whenever it's included. Since
the fixes are simple, just do that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20220202104617.6a1d52213019.I92d82e7251cf712faa43fd09db3142327a3bce3d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h