diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-10-22 22:47:20 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-11-06 19:00:01 +0200 |
commit | d22d2492a35d507ec8edc0797418341bb716d8ff (patch) | |
tree | f8309c5e37cb4595ddb3985aebb949089408ef62 /drivers/net/wireless/ray_cs.c | |
parent | 641dd8068ecb078e7d12efe465df202bc16ca5eb (diff) | |
download | linux-stable-d22d2492a35d507ec8edc0797418341bb716d8ff.tar.gz linux-stable-d22d2492a35d507ec8edc0797418341bb716d8ff.tar.bz2 linux-stable-d22d2492a35d507ec8edc0797418341bb716d8ff.zip |
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>
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 08c607c031bc..33ad87528d9a 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c @@ -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; |