mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
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: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
583d6a93a5
commit
a14731129a
@ -3391,8 +3391,10 @@ halmac_cfg_txbf_88xx(struct halmac_adapter *halmac_adapter, u8 userid,
|
||||
switch (bw) {
|
||||
case HALMAC_BW_80:
|
||||
temp42C |= BIT_R_TXBF0_80M;
|
||||
/* fall through */
|
||||
case HALMAC_BW_40:
|
||||
temp42C |= BIT_R_TXBF0_40M;
|
||||
/* fall through */
|
||||
case HALMAC_BW_20:
|
||||
temp42C |= BIT_R_TXBF0_20M;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user