Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp180841imm; Tue, 7 Aug 2018 16:32:44 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxFls7XXeN8d2lQol0rs4roXasVC7GYIoBQkF8V+x4fEvBJ5XrwH7LbEuD9DdOLhubCn8Fo X-Received: by 2002:a63:f309:: with SMTP id l9-v6mr305082pgh.369.1533684764235; Tue, 07 Aug 2018 16:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533684764; cv=none; d=google.com; s=arc-20160816; b=B72wf3apiAL6TOvvkXNxkr23pMqHvrQSv+wOLKY7oYqMLJ98j9HcA8feJXlUsVjh7a cuiUYBojV5GS8HBwn2Z1QbzoEgxN3LL8hAW05ROXf1ywksbFZn8fQOqCXO6Dny9OOQoX BX3AnsL6I3vsnHyLQXKyhIr8JN34TWdaGzuOYl2iSeDLLrE57VsHqQOF1mSH991xc6pZ 5PNP/ez5jmy9/xPifnj5/EzdO9mb9i0b/xAVMPPqIurZ9qIiOIZh6bnItp9FzzwZL96T 9o7o8nnNX7sfooLvnIjYRB94m4Fu5tJzqxK2gqfvaksLlZU6UDURfY3Fw2nOD+bDNEL4 pyjg== 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=8fujgYvTkjiiNuuqJFZu7RC050ek+RJZ2JaMxWFEN38=; b=li5xgivfGRVeg79WTs31HX6wm+t3H8EJL7C7lDEg9RhbBazjua/+NJk/dpNiwYi8r9 h/3mgkkET/Bb0ZsMor3ZBewRb9oIwcHO8WZWeG2bVCf4JRC9+FID0jt10XoBI6qEte23 PbnfIIczOGYeTWdckPOAU+9XwYgQ3tdUr22W5AjFNTBOOIt/+WOWQeVWNHWGrvzP6c++ BCKpkPzrDUgyQ9Np1AxlTMRd5cVrTuf+veXyC9bF452gM6C91Jc1Q0V3xmImB37rUEv6 8DIkIFmfWBTpxTpv6CTIR39v4swtekqW4hdUh8hZBA6j8/ZD9ed2505bPCaUkBq5FZN3 6kfw== 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 o23-v6si2305540pgm.170.2018.08.07.16.32.29; Tue, 07 Aug 2018 16:32:44 -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 S1726971AbeHHBsE (ORCPT + 99 others); Tue, 7 Aug 2018 21:48:04 -0400 Received: from gateway31.websitewelcome.com ([192.185.143.4]:46985 "EHLO gateway31.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbeHHBsE (ORCPT ); Tue, 7 Aug 2018 21:48:04 -0400 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 86424103298 for ; Tue, 7 Aug 2018 18:31:18 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBRdf7qIrbXuJnBRefWrmk; Tue, 07 Aug 2018 18:31:18 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48154 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBRd-001zdP-5X; Tue, 07 Aug 2018 18:31:17 -0500 Date: Tue, 7 Aug 2018 18:31:16 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Cc: Solarflare linux maintainers , Edward Cree , Bert Kenward Subject: [PATCH 31/33] net: sfc: falcon: mark expected switch fall-through Message-ID: <03e5af12e283d9d78ab24556b3e97bb1332a311e.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: 1fnBRd-001zdP-5X X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48154 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 196 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: 1384500 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/sfc/falcon/ethtool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/sfc/falcon/ethtool.c b/drivers/net/ethernet/sfc/falcon/ethtool.c index 5604915..1ccdb7a 100644 --- a/drivers/net/ethernet/sfc/falcon/ethtool.c +++ b/drivers/net/ethernet/sfc/falcon/ethtool.c @@ -963,6 +963,7 @@ ef4_ethtool_get_rxnfc(struct net_device *net_dev, switch (info->flow_type) { case TCP_V4_FLOW: info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3; + /* Fall through */ case UDP_V4_FLOW: case SCTP_V4_FLOW: case AH_ESP_V4_FLOW: -- 2.7.4