From: Zong-Zhe Yang Date: Fri, 8 Apr 2022 00:13:41 +0000 (+0800) Subject: rtw89: ser: fix unannotated fall-through X-Git-Tag: v6.1-rc5~1274^2~193^2~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ddfffd6da9b94e5f6397843ad1a54d6a211f652;p=platform%2Fkernel%2Flinux-starfive.git rtw89: ser: fix unannotated fall-through add `break` to fix warning of unannotated fall-through between switch labels. Fixes: 14f9f4790048 ("rtw89: ser: control hci interrupts on/off by state") Signed-off-by: Zong-Zhe Yang Signed-off-by: Ping-Ke Shih Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/20220408001353.17188-2-pkshih@realtek.com --- diff --git a/drivers/net/wireless/realtek/rtw89/ser.c b/drivers/net/wireless/realtek/rtw89/ser.c index 25d1df1..5aebd68 100644 --- a/drivers/net/wireless/realtek/rtw89/ser.c +++ b/drivers/net/wireless/realtek/rtw89/ser.c @@ -394,6 +394,7 @@ static void ser_idle_st_hdl(struct rtw89_ser *ser, u8 evt) break; case SER_EV_STATE_OUT: rtw89_hci_recovery_start(rtwdev); + break; default: break; }