Commit a1473112 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman

staging: r8822be: mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 583d6a93
...@@ -3391,8 +3391,10 @@ halmac_cfg_txbf_88xx(struct halmac_adapter *halmac_adapter, u8 userid, ...@@ -3391,8 +3391,10 @@ halmac_cfg_txbf_88xx(struct halmac_adapter *halmac_adapter, u8 userid,
switch (bw) { switch (bw) {
case HALMAC_BW_80: case HALMAC_BW_80:
temp42C |= BIT_R_TXBF0_80M; temp42C |= BIT_R_TXBF0_80M;
/* fall through */
case HALMAC_BW_40: case HALMAC_BW_40:
temp42C |= BIT_R_TXBF0_40M; temp42C |= BIT_R_TXBF0_40M;
/* fall through */
case HALMAC_BW_20: case HALMAC_BW_20:
temp42C |= BIT_R_TXBF0_20M; temp42C |= BIT_R_TXBF0_20M;
break; break;
......
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