]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: rt2800lib: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 22 Oct 2018 20:46:03 +0000 (22:46 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 16:59:54 +0000 (18:59 +0200)
commit0cd51bbbbe81aa141f6f59f0cf12f031dcf12927
tree8b174822380543c6efa8fd0a7a906fe153eb2003
parentcc5f5847c0514d73dfdb4d05c87a97039926d2e1
rt2x00: rt2800lib: mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 145198 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c