提交 604e9867 编写于 作者: G Gustavo A. R. Silva 提交者: Kalle Valo

ath9k: ar5008_phy: mark expected switch fall-through

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

Addresses-Coverity-ID: 1056532 ("Missing break in switch")
Signed-off-by: NGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 3468404f
...@@ -586,7 +586,7 @@ static void ar5008_hw_init_chain_masks(struct ath_hw *ah) ...@@ -586,7 +586,7 @@ static void ar5008_hw_init_chain_masks(struct ath_hw *ah)
REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, 0x7); REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, 0x7);
break; break;
} }
/* else: fall through */ /* fall through */
case 0x1: case 0x1:
case 0x2: case 0x2:
case 0x7: case 0x7:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册