Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp175371imm; Tue, 7 Aug 2018 16:25:13 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyCFLhST8G7otI61dURbnDx4+HYNZQSWt/NOZV9gPdWOjyoSt3OXkmogb4kMn6SsR+PswK6 X-Received: by 2002:a62:d544:: with SMTP id d65-v6mr367858pfg.107.1533684313554; Tue, 07 Aug 2018 16:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533684313; cv=none; d=google.com; s=arc-20160816; b=OdAFxkuHPHKMJ/u5NJAheQB51nxPpzmozw5EjCJDhposQ234PpLSezqjKpTZ4PqFoy YXQiu21SGiZifc4Gee6tzixfgSPxvEQm9/NWIgCI0GnwWEU9fhgLcQE23qLx6eKHDZAK BS74V7B/28ZXFa4T4pETjycKOnCXdnPE5VJTmMVKx/3VaRjTtpGl8ps2FMeD8GrEm1ez Z9+nfURITLJG0uYlyAYTyiNftmX5SjdQTbdlhtYmysiLykA+r52zzaCAOeURCUI+kTrA M30vo5fii5/Ryvt9eGdl/BVq1d12vKvaTGkBmK37jDRihh+UoKX+1I1ug1aZXGCf98Ya JhdQ== 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:arc-authentication-results; bh=LxWXZATxsU8oqdnr5MMO62wTDtpyYCYjDTXp/xBGIlA=; b=FGVSqGoAvF/2hHb3IyI577eNbWabdfPXbOgkuWs96hwxLfr7v5r3LfEzqo3tu5CmFt bTvC33wt2Q08OPifV5hzjPlPIbpOvDqmzCMbXYc2g1QGQqNiY0V2BNXB6GxpunI8fWgx fS2v2xKEpydRFvIAvjy9CpEHQvN28YFAaE1SRQq30+eyypphnk08ZYDHYR9zKNvOKd8i VXrFyi9yCz55fgaaVVZj96wOH/hdywo8WqSWMZoFkiOYGPksiCvD7GaVyE13MTxHA+NJ 6Kd8FkKa6taMthnTCe+cVrlmQ/n/iZFPuR82ubacfgd8mEHCrRi2v3wkcz0EBy+LgRpM zAGQ== 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 l15-v6si2456683pgh.593.2018.08.07.16.24.58; Tue, 07 Aug 2018 16:25:13 -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 S1727428AbeHHBkU (ORCPT + 99 others); Tue, 7 Aug 2018 21:40:20 -0400 Received: from gateway30.websitewelcome.com ([192.185.149.4]:31562 "EHLO gateway30.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727043AbeHHBkU (ORCPT ); Tue, 7 Aug 2018 21:40:20 -0400 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 31E09B214 for ; Tue, 7 Aug 2018 18:23:36 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBK8f7TnlbXuJnBKBfWVOI; Tue, 07 Aug 2018 18:23:36 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48112 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBK7-001vlv-LE; Tue, 07 Aug 2018 18:23:31 -0500 Date: Tue, 7 Aug 2018 18:23:31 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Cc: Jeff Kirsher , intel-wired-lan@lists.osuosl.org Subject: [PATCH 21/33] igb: e1000_phy: Mark expected switch fall-through Message-ID: 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: 189.250.73.102 X-Source-L: No X-Exim-ID: 1fnBK7-001vlv-LE X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48112 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 142 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: 114800 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/intel/igb/e1000_phy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/igb/e1000_phy.c b/drivers/net/ethernet/intel/igb/e1000_phy.c index 2be0e76..ad2125e 100644 --- a/drivers/net/ethernet/intel/igb/e1000_phy.c +++ b/drivers/net/ethernet/intel/igb/e1000_phy.c @@ -659,6 +659,7 @@ s32 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw) phy_data |= M88E1000_PSCR_AUTO_X_1000T; break; } + /* fall through */ case 0: default: phy_data |= M88E1000_PSCR_AUTO_X_MODE; -- 2.7.4