mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 03:59:47 +07: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:
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:
|
||||
|
Loading…
Reference in New Issue
Block a user