OSDN Git Service

ieee80211: fix -Wcast-qual warnings
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Feb 2022 08:49:38 +0000 (10:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:24:56 +0000 (16:24 +0100)
commitbed89478934a9803d1a4d97574dcc30e509aa972
tree214ef4c23e75c00e8ac378a36b9f57200e3a3b35
parent5666ee154f4696c011dfa8544aaf5591b6b87515
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>
include/linux/ieee80211.h