mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
ray_cs: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114948 ("Missing break in switch")
Addresses-Coverity-ID: 114949 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
641dd8068e
commit
d22d2492a3
1 changed files with 2 additions and 0 deletions
|
|
@ -889,8 +889,10 @@ static int ray_hw_xmit(unsigned char *data, int len, struct net_device *dev,
|
|||
switch (ccsindex = get_free_tx_ccs(local)) {
|
||||
case ECCSBUSY:
|
||||
pr_debug("ray_hw_xmit tx_ccs table busy\n");
|
||||
/* fall through */
|
||||
case ECCSFULL:
|
||||
pr_debug("ray_hw_xmit No free tx ccs\n");
|
||||
/* fall through */
|
||||
case ECARDGONE:
|
||||
netif_stop_queue(dev);
|
||||
return XMIT_NO_CCS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue