]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 8 Dec 2020 07:52:57 +0000 (09:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Dec 2020 07:01:29 +0000 (09:01 +0200)
commit026281bf78528167f14cbf2ee94b1b629f67fe69
tree019db07827706f08fb0fda32a750d2160992ef9f
parentf82ccfb2a6b4f640fa38149269f6d1c9619b0b86
carl9170: 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/04257418814755f081fa0ac14a61b01328cdc4ed.1605896059.git.gustavoars@kernel.org
drivers/net/wireless/ath/carl9170/tx.c