From: Gustavo A. R. Silva Date: Mon, 22 Oct 2018 20:37:31 +0000 (+0200) Subject: ath6kl: Mark expected switch fall-through X-Git-Tag: v5.4-rc1~1957^2~161^2~9^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d9e1ecd15373c4fff03e2066581e2374c0e1e61;p=platform%2Fkernel%2Flinux-rpi.git ath6kl: Mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 201383 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva Acked-by: Steve deRosier Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c index cb59016..5e7ea83 100644 --- a/drivers/net/wireless/ath/ath6kl/main.c +++ b/drivers/net/wireless/ath/ath6kl/main.c @@ -389,6 +389,7 @@ void ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel) if (!ik->valid || ik->key_type != WAPI_CRYPT) break; /* for WAPI, we need to set the delayed group key, continue: */ + /* fall through */ case WPA_PSK_AUTH: case WPA2_PSK_AUTH: case (WPA_PSK_AUTH | WPA2_PSK_AUTH):