]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:36:45 +0000 (12:36 -0600)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 11:51:04 +0000 (12:51 +0100)
commita1d94b48af22283572ef38ef3b1aa58df3816cec
tree9d2e4a5aa497ebde5c40cd47a4493fa014e4affe
parent2f2015e773367419ab22a0a29602b7f392cb34c4
mac80211: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements instead of
letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/1a9c4e8248e76e1361edbe2471a68773d87f0b67.1605896060.git.gustavoars@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c