Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp174584imm; Tue, 7 Aug 2018 16:24:03 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzKnFhsok64YdpLFGwSCoJaXjyNlQxMKrcny83w4DfnLGgjSCkIJNci3HLkHVJb3HHAThZR X-Received: by 2002:a65:5144:: with SMTP id g4-v6mr311153pgq.21.1533684243363; Tue, 07 Aug 2018 16:24:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533684243; cv=none; d=google.com; s=arc-20160816; b=kN3Y0zP3PMs2MzP5ki7gH40f6o/H3fS1OC+We5yv67TYs8SuJQnBg7+CpfuxGQsyqH 9BB+9/hthYZ4GQyUsMMFUfVYH13W639cPDCEgwNzL85MKC2SRqOW8iRLrlqWtgBXDe+J 0S6+PDzIC5T0VRLS+CDrPrIgFFk7FuzMoge+VhEFFOyOtPTd843pTNJaW5E6dz8U+pIt vpeZg/wQ5MdQALKwgAPZSSPwybycV/EHLyhoQyaKml0cyuuOoK7tgjybb1zMI7H8vOnY nR4rdX3ETViqmP9OL2ZpvBJ9gQ18mbxmfJyuIqQZnQ/WWFOSovJZGdSkHzWAruZSsgzv 8HNg== 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=/o7qqzoiiOetIpByH1axTXeCBI4W+jUEBfWqP2fqals=; b=mo9my3EbGSryqkIrwDpqeZ26epHS65J655N/xZcEp57bMwuCuJstxQ+Nrl8mnCWzG0 +/h2A7IU+Zjch80iA+NRTBoicqZa4/GMOajZ6FoNosFA4XlIFAcgmG9A6EaOGKWnKPmX 6B+1ZmHW64e7Uq2UUKuponbOAjSZFQRx5Pl4OPyGHYE80adFFYt0qITQ2D5VjX4FRshx br5puVHEPBHk+9W4t8vJBFUW9AtJcJjEK9cJNpopGKEteF5b0tedgcitk4hnoBvGmX2e Bfo1V5QHKbeiwn3B9MDctCiHbN+XUiDeQZ8Cf/qoIMmOzg2cuaf3u7US+anP0ufOp49F 8U8w== 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 l6-v6si2538909pfc.298.2018.08.07.16.23.48; Tue, 07 Aug 2018 16:24:03 -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 S1727321AbeHHBjp (ORCPT + 99 others); Tue, 7 Aug 2018 21:39:45 -0400 Received: from gateway23.websitewelcome.com ([192.185.50.129]:25586 "EHLO gateway23.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726895AbeHHBjp (ORCPT ); Tue, 7 Aug 2018 21:39:45 -0400 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 5762B4A82F for ; Tue, 7 Aug 2018 18:23:01 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBJafjTEZBcCXnBJbfJVBe; Tue, 07 Aug 2018 18:23:01 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48106 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBJZ-001vVx-J5; Tue, 07 Aug 2018 18:22:57 -0500 Date: Tue, 7 Aug 2018 18:22:57 -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 20/33] igb: e1000_82575: Mark expected switch fall-through Message-ID: <2f4b0d4e33bc5701126a453b2a28e601bab7a858.1533675546.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: 189.250.73.102 X-Source-L: No X-Exim-ID: 1fnBJZ-001vVx-J5 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48106 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 137 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: 114799 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/intel/igb/e1000_82575.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c index a795c07..bafdcf7 100644 --- a/drivers/net/ethernet/intel/igb/e1000_82575.c +++ b/drivers/net/ethernet/intel/igb/e1000_82575.c @@ -1708,6 +1708,7 @@ static s32 igb_setup_serdes_link_82575(struct e1000_hw *hw) case E1000_CTRL_EXT_LINK_MODE_1000BASE_KX: /* disable PCS autoneg and support parallel detect only */ pcs_autoneg = false; + /* fall through */ default: if (hw->mac.type == e1000_82575 || hw->mac.type == e1000_82576) { -- 2.7.4