Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2687639ima; Mon, 22 Oct 2018 14:10:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV60ZxPXAmBvHvPJdHnlakFjvZ/9utKCyc9QfLSflza1LPOQ1KoyZNwDzZ7Cuh9fYci4O1D1h X-Received: by 2002:a62:460c:: with SMTP id t12-v6mr40473746pfa.206.1540242642261; Mon, 22 Oct 2018 14:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540242642; cv=none; d=google.com; s=arc-20160816; b=zA3q+WtHC1u4yAVwzX54h7ULLfsZaSHtk8f9TO387abxvS248iqflN5hedlIHUpHU1 JvVEDa+xCVvLVlO2sx3lDejT5u3BubQwgcuPHdvUD4/wqYShfAUjE6HOWt2EczIdo4Ry 3F/jAXV3lAJaI6FfcyYBhO3GiAas4wvfgwt89AfJ3dID3U4IigJzmymqsmzExr02anTh lRcXuyYyP2mwsoETWOJwo8f24Dc61Tn1Mauf4enq4dkhvWGw9pA1CsKsMEIS3nTCNb4e G+GzhB3QH2x7eY8nYvqsIFkS6Fy6tA+5dOMJbrKvS0fq1g6EL5ETGs0lZHrigFbcteAL 5BnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cujleAu8eHrdPHEJhbI/78QmGRGvE+uSNVhT0gjSGng=; b=aZfKB5FqylXFYqZg1cxBpAsUdgte9DkYcApkV4XFvtlQs+tf7OEfyicboWR1MSUbQ6 yb97BQVCilwOf/yj3eAKu+Ra/ku0Kf0e/ILKx2Z9kMwigOAHCxxEFR3FBvAMBXvUquzz rn2o3qzmCz9WS/DEdVeydpqb0G567dQaXUWgpNK+/lCr3BnkodEerGqydO9hB83nb+mr 9zwFksFI+s3IIA0LFuQbwURyhgliydnqo+r4HpS84pAejKBwdWsdhoMP5a1d73JOgiRL w5XJpZMVrA02MOxoEU4LW8tdIL9C7BP2NshsSKNYnGfipGrIZK8cc7+rsB7Bp0UeuZR+ EaGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7-v6si8068408pll.160.2018.10.22.14.10.27; Mon, 22 Oct 2018 14:10:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728998AbeJWE5y (ORCPT + 99 others); Tue, 23 Oct 2018 00:57:54 -0400 Received: from gateway33.websitewelcome.com ([192.185.146.78]:49001 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727701AbeJWE5x (ORCPT ); Tue, 23 Oct 2018 00:57:53 -0400 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway33.websitewelcome.com (Postfix) with ESMTP id DAE83B8E9 for ; Mon, 22 Oct 2018 15:37:50 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id EgxIgYZMUBcCXEgxPgnfdo; Mon, 22 Oct 2018 15:37:50 -0500 X-Authority-Reason: nr=8 Received: from lfbn-1-466-13.w86-245.abo.wanadoo.fr ([86.245.173.13]:50954 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gEgxH-0020rP-M2; Mon, 22 Oct 2018 15:37:39 -0500 Date: Mon, 22 Oct 2018 22:37:38 +0200 From: "Gustavo A. R. Silva" To: QCA ath9k Development Cc: Kalle Valo , linux-wireless@vger.kernel.org, "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 02/20] ath9k: ar5008_phy: mark expected switch fall-through Message-ID: <1727f5c9f0bb87651831d267e35af5aa1ed1f98b.1540239684.git.gustavo@embeddedor.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 86.245.173.13 X-Source-L: No X-Exim-ID: 1gEgxH-0020rP-M2 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: lfbn-1-466-13.w86-245.abo.wanadoo.fr (embeddedor) [86.245.173.13]:50954 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 28 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1056532 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/wireless/ath/ath9k/ar5008_phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/ar5008_phy.c b/drivers/net/wireless/ath/ath9k/ar5008_phy.c index 11d6f975..dae9540 100644 --- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c @@ -586,7 +586,7 @@ static void ar5008_hw_init_chain_masks(struct ath_hw *ah) REG_WRITE(ah, AR_PHY_CAL_CHAINMASK, 0x7); break; } - /* else: fall through */ + /* fall through */ case 0x1: case 0x2: case 0x7: -- 2.7.4