]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
carl9170: rx: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 22 Oct 2018 20:39:59 +0000 (22:39 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 5 Nov 2018 11:22:24 +0000 (13:22 +0200)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Addresses-Coverity-ID: 1056534 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/carl9170/rx.c

index 705063259c8f0d7d2fe7a9636469a63c9531b282..f7c2f19e81c16433fb08a1e06725e5eb7ba630d1 100644 (file)
@@ -766,6 +766,7 @@ static void carl9170_rx_untie_data(struct ar9170 *ar, u8 *buf, int len)
 
                        goto drop;
                }
+               /* fall through */
 
        case AR9170_RX_STATUS_MPDU_MIDDLE:
                /*  These are just data + mac status */