]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 8 Dec 2020 07:52:56 +0000 (09:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Dec 2020 07:01:26 +0000 (09:01 +0200)
commitf82ccfb2a6b4f640fa38149269f6d1c9619b0b86
tree5b8bb90364c60db0beada0f90eff25bb2d425f54
parent28dbed4f75a1e8b27a9c542cc581a8e8881b110b
ath5k: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement 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/e127232621c4de340509047a11d98093958303c5.1605896059.git.gustavoars@kernel.org
drivers/net/wireless/ath/ath5k/mac80211-ops.c