]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit657b5ae3e0af966c666646d95fd49fa4524b8c48
tree00878002c4b9c87b313221a8653900a28a5d43f0
parent815d420f14b867a58e7bbc2c87d4b77461b663b7
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