Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gustavo A. R. Silva and committed by
Kalle Valo
d22d2492 641dd806

+2
+2
drivers/net/wireless/ray_cs.c
··· 889 889 switch (ccsindex = get_free_tx_ccs(local)) { 890 890 case ECCSBUSY: 891 891 pr_debug("ray_hw_xmit tx_ccs table busy\n"); 892 + /* fall through */ 892 893 case ECCSFULL: 893 894 pr_debug("ray_hw_xmit No free tx ccs\n"); 895 + /* fall through */ 894 896 case ECARDGONE: 895 897 netif_stop_queue(dev); 896 898 return XMIT_NO_CCS;