Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp169838imm; Tue, 7 Aug 2018 16:17:16 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxR8SNJWL1w32ajh+moIIggnqDsr4F4u3P16vggondorY6jqcgC7OddLOQkkjbyE/1duaVt X-Received: by 2002:a62:87ce:: with SMTP id i197-v6mr379480pfe.62.1533683836876; Tue, 07 Aug 2018 16:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533683836; cv=none; d=google.com; s=arc-20160816; b=WrDmhGBQBDx+11k6GlkrW7QBn+Ty2+b7yH8mkvgGRHJaem8ZWjY9m2i/W2nCAxfbNp Ytf0Dz5bCW2CHk3EyDKXhZHsCXpCkHE3HIXxt9LU8oWwFImljbDbAzNKZ7UXQ7UCtJv/ QK+DMSmfx9RvPDZQPnoAV46oOmNJrFn8fI3CbmereRZyMzOhfBecrbrkIesuL4098i3W ENjlh2QZrqasV/z53PQYF3/IsfoXZO71ljS21N2FQGSYg+k3vrdOnoKeXGIhqZ2l2kgo uK4hKiFfVkBZI55XZhDXNg+Mu/09Y+rRQv77BpRAQdiVP6LI0XiIAzS+nHGlW+RPXyWm xwdQ== 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=40G+FipzELv3Fok8RxXQG5PS6/NRl1m4pI/6cTYUXF4=; b=NyNN9U09KVV68Fl8MslD7OOU2ZkwXNohV+RJkolQ1N4F7v56uZHxK0vhnDzOW+hzE4 j3k2Xmb2l4x5QXmkXNnAt2xXmy9dNxzBRErEAu4ssUPaIniQcCh7OFmy6dRLtr7dQ1zD ib7KtQWsmAh+F7ae2587SJiYI5hdNYgNgqYmoUlJ0JmyONAfyHYE+sYBDQZxnVEajAjn 1WNR26k5wQJEQI4vUn1TqT3q69pXMwC+1Qrxr7VlwiQCznk4Euo2MT7yEQOR3NxEJ0MB hIhq2XNidcqL0CnywVfkAQGNvKqllxR+YQQFfbT261pQEqwbnEK6/yFJ7IKCEcwuD6/w Hgwg== 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 c22-v6si2045146plo.271.2018.08.07.16.17.02; Tue, 07 Aug 2018 16:17:16 -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 S1727087AbeHHBcW (ORCPT + 99 others); Tue, 7 Aug 2018 21:32:22 -0400 Received: from gateway33.websitewelcome.com ([192.185.145.239]:16594 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbeHHBcV (ORCPT ); Tue, 7 Aug 2018 21:32:21 -0400 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 46AAF33B78 for ; Tue, 7 Aug 2018 18:15:40 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBCPfj5h6BcCXnBCTfJ7kd; Tue, 07 Aug 2018 18:15:40 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48060 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBCO-001rpb-GW; Tue, 07 Aug 2018 18:15:32 -0500 Date: Tue, 7 Aug 2018 18:15:32 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Cc: Sunil Goutham , Robert Richter , linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/33] net: thunderx: 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: 1fnBCO-001rpb-GW X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48060 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 81 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: 114781 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c b/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c index 5603f5a..92ba958 100644 --- a/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c +++ b/drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c @@ -527,6 +527,7 @@ static int nicvf_get_rss_hash_opts(struct nicvf *nic, case SCTP_V4_FLOW: case SCTP_V6_FLOW: info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; + /* Fall through */ case IPV4_FLOW: case IPV6_FLOW: info->data |= RXH_IP_SRC | RXH_IP_DST; -- 2.7.4