]> asedeno.scripts.mit.edu Git - linux.git/commit
cfg80211: add some missing fall through annotations
authorLuca Coelho <luciano.coelho@intel.com>
Sat, 15 Dec 2018 09:03:21 +0000 (11:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Dec 2018 12:15:08 +0000 (13:15 +0100)
commit925b5978cdc7287ba08ed21bf27970131f147720
tree3db512a135aaed08bf8e4c5555a06f47b2e4b889
parent30db641ef4f68054db9b191b6c0200fb1a96d458
cfg80211: add some missing fall through annotations

There are talks about enabling -Wimplicit-fallthrough warnings in the
mainline and it is already enabled in linux-next.  Add all the
missing annotations to prevent warnings when this happens.

And in one case, remove the extra text from the annotation so that the
compiler recognizes it.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c
net/wireless/nl80211.c
net/wireless/scan.c