Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp175424imm; Tue, 7 Aug 2018 16:25:17 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwzpVt5Osfx/e+qNtwtgfYcakz0h8mvQGM3oAi/WFdX6TVqPih8m4ebiPQcuzrjT5I4GY3u X-Received: by 2002:a63:ab0c:: with SMTP id p12-v6mr326901pgf.190.1533684317567; Tue, 07 Aug 2018 16:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533684317; cv=none; d=google.com; s=arc-20160816; b=H0BeywtmWg+oKJvw5nsHOnJ6+B5S6lQBpFIee9nws6SIQv0aWEHpGcJtodPrIEnzdf 4S5rhsi8a8+NMPdVkt/P0dbnNoLHjVQ7FMaX3waK0SuiLZiuXvTzR4MhLUkHHOs/2UoH mxUAynT+byowty6CZH5ySG5j2JxkC+zGXvnzJmeiLM6zY0RFAVJq7ByxuhVkiQaKRhId /Gkjw6x50vLdcu/BQAWhBKhxWRILmAXVAYLRXlWXoYJrWX4wgTricgRRFoTWsVuLsQX7 /MjcKwHdTVF1PyXJkLxSZXA6kmmMVo7VIyhT1gxPaGdghOricHiHVAoWDZM/Tpb+Y2OM zkSA== 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=QqmkyskjrMkP7pLA5F4iRBsXacRKNIwkS8jEPIZHM1A=; b=cb1YmjXoJfhkqMJnq/goGwfrn78I4N3hRY23MVuooY+zhjqkMcuZjoA0SyWYqcnT1q pb/g5b1vGAOR9cdDhaKCGiNAU11bjViM6yNy2v7mO/Zyx6Q3794tznTJn4d+BDidlWVf 6uNbvSII5bf4HpF0pu71ojba+3QJ8QeOTwCZHWdoAYJqhPvEAS3wiu73pgGFCnb9BcDa 77W7ZIKbutDezwoFMmD7l22MwHJEXU9+WOXH1Ay3237JBtGezOdUHfAcPl/Nrnyyqmve hUCFBsBl/JvrGx4dVVp/PefEkemMUm4LxVzvXXAsiXba/pGy2gvjRzyjQFaZJWiCOIhm d2Lg== 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 d30-v6si1960071pla.110.2018.08.07.16.25.03; Tue, 07 Aug 2018 16:25:17 -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 S1727477AbeHHBky (ORCPT + 99 others); Tue, 7 Aug 2018 21:40:54 -0400 Received: from gateway24.websitewelcome.com ([192.185.50.91]:32106 "EHLO gateway24.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727000AbeHHBkx (ORCPT ); Tue, 7 Aug 2018 21:40:53 -0400 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 97DED30965 for ; Tue, 7 Aug 2018 18:24:09 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBKgfjWGoBcCXnBKhfJYBl; Tue, 07 Aug 2018 18:24:09 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48114 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBKf-001w6K-IG; Tue, 07 Aug 2018 18:24:05 -0500 Date: Tue, 7 Aug 2018 18:24:04 -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 22/33] igbvf: netdev: 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: 1fnBKf-001w6K-IG X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48114 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 147 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: 114801 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/intel/igbvf/netdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/igbvf/netdev.c b/drivers/net/ethernet/intel/igbvf/netdev.c index f818f06..e0c989f 100644 --- a/drivers/net/ethernet/intel/igbvf/netdev.c +++ b/drivers/net/ethernet/intel/igbvf/netdev.c @@ -2102,6 +2102,7 @@ static bool igbvf_tx_csum(struct igbvf_ring *tx_ring, struct sk_buff *skb, type_tucmd = E1000_ADVTXD_TUCMD_L4T_SCTP; break; } + /* fall through */ default: skb_checksum_help(skb); goto csum_failed; -- 2.7.4