ieee80211: fix -Wcast-qual warnings
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Feb 2022 08:49:38 +0000 (10:49 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 6 May 2022 12:01:55 +0000 (14:01 +0200)
commitf03a59a3d7d877ce0eb52e8a7fd199a0237df784
tree3cbb8ad18b83334ede11a3b111b3fad85c0c92b3
parent1904b77300db657773b165b360347332e93561cb
ieee80211: 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.79ec4a4bab29.I8177a0c79d656c552e22c88931d8da06f2977896@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/linux/ieee80211.h