]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:38:52 +0000 (12:38 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 8 Dec 2020 08:06:56 +0000 (10:06 +0200)
commit3e00f4bc56dcf9d44b407e8727a0582b44aa6c99
tree404935f686c2215eeb52921e6b83e419c090534d
parent08fb0dfbda120b65fafc5a9c03805e5dcee7761d
rt2x00: 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/b0d4c50b803bc38ed370521b9b0a44365cae9386.1605896060.git.gustavoars@kernel.org
drivers/net/wireless/ralink/rt2x00/rt2x00queue.c