diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-10-22 22:42:29 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-11-06 18:59:36 +0200 |
commit | d22b8fadd08e95124e13860397d2071a6f6625bc (patch) | |
tree | c415a7c263de21c3cca28a20399ef6ad9a9872c6 /drivers/net/wireless/intersil/prism54 | |
parent | d56b26801e1d7663f4d138fa8893174d91205586 (diff) | |
download | linux-d22b8fadd08e95124e13860397d2071a6f6625bc.tar.gz linux-d22b8fadd08e95124e13860397d2071a6f6625bc.tar.bz2 linux-d22b8fadd08e95124e13860397d2071a6f6625bc.zip |
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>
Diffstat (limited to 'drivers/net/wireless/intersil/prism54')
-rw-r--r-- | drivers/net/wireless/intersil/prism54/isl_38xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intersil/prism54/isl_38xx.c b/drivers/net/wireless/intersil/prism54/isl_38xx.c index ce9d4db0d9ca..b0eb58a62c90 100644 --- a/drivers/net/wireless/intersil/prism54/isl_38xx.c +++ b/drivers/net/wireless/intersil/prism54/isl_38xx.c @@ -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: |