]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 17 Nov 2020 16:09:58 +0000 (10:09 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Nov 2020 15:05:56 +0000 (17:05 +0200)
commit53416c64beb7d5800956eb1f425f19abacbcdf36
treeb935c829f96e204805d4adcdd947de8513f86371
parentad06123837bd2429652cd4f2c04de53f35eca552
mwifiex: 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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201117160958.GA18807@embeddedor
drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
drivers/net/wireless/marvell/mwifiex/sta_event.c
drivers/net/wireless/marvell/mwifiex/uap_cmd.c
drivers/net/wireless/marvell/mwifiex/wmm.c