mac80211: mark expected switch fall-throughs
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 17 Oct 2017 23:14:50 +0000 (18:14 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Dec 2017 11:16:04 +0000 (12:16 +0100)
commit02049ce27ef9d5ec0d74023a1487eb5c9bb38143
tree00878002c4b9c87b313221a8653900a28a5d43f0
parent51e18a453f5f59a40c721d4aeab082b4e2e9fac6
mac80211: mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Notice that in some cases I replaced "fall through on else" and
"otherwise fall through" comments with just a "fall through" comment,
which is what GCC is expecting to find.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ht.c
net/mac80211/iface.c
net/mac80211/mesh.c
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/offchannel.c
net/mac80211/tdls.c
net/mac80211/wme.c