mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 00:10:09 +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
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue