Commit d22b8fad authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Kalle Valo

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: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent d56b2680
...@@ -235,6 +235,7 @@ isl38xx_in_queue(isl38xx_control_block *cb, int queue) ...@@ -235,6 +235,7 @@ isl38xx_in_queue(isl38xx_control_block *cb, int queue)
/* send queues */ /* send queues */
case ISL38XX_CB_TX_MGMTQ: case ISL38XX_CB_TX_MGMTQ:
BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE); BUG_ON(delta > ISL38XX_CB_MGMT_QSIZE);
/* fall through */
case ISL38XX_CB_TX_DATA_LQ: case ISL38XX_CB_TX_DATA_LQ:
case ISL38XX_CB_TX_DATA_HQ: case ISL38XX_CB_TX_DATA_HQ:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment