mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 09:09:55 -04:00
prism54: isl_38xx: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114944 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
committed by
Kalle Valo
parent
d56b26801e
commit
d22b8fadd0
@@ -235,6 +235,7 @@ isl38xx_in_queue(isl38xx_control_block *cb, int queue)
|
||||
/* send queues */
|
||||
case ISL38XX_CB_TX_MGMTQ:
|
||||
BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE);
|
||||
/* fall through */
|
||||
|
||||
case ISL38XX_CB_TX_DATA_LQ:
|
||||
case ISL38XX_CB_TX_DATA_HQ:
|
||||
|
||||
Reference in New Issue
Block a user