rtlwifi: rtl8821ae: phy: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 22 Oct 2018 20:47:59 +0000 (22:47 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 17:00:04 +0000 (19:00 +0200)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c

index 176deb2..a75451c 100644 (file)
@@ -394,6 +394,7 @@ static void _rtl8812ae_phy_set_rfe_reg_24g(struct ieee80211_hw *hw)
                        rtl_set_bbreg(hw, RB_RFE_INV, BMASKRFEINV, 0x000);
                        break;
                }
+               /* fall through */
        case 0:
        case 2:
        default: