Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp172551imm; Tue, 7 Aug 2018 16:21:05 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx9Msmuc9nOShyWo5EBfsQLLcx7LX6/mqhn+6dQROAWMJbWL8hBTPyBbbgzrddKFe3KWPff X-Received: by 2002:a63:c252:: with SMTP id l18-v6mr326492pgg.76.1533684065343; Tue, 07 Aug 2018 16:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533684065; cv=none; d=google.com; s=arc-20160816; b=yy4KgE4fA5Yksi/QH9Vx7qWwXnuTO7B0uYxEBn/bhbJ1TEUpDnHJ5wbkKDB0+Ab02k PsTKoUJOpyKtPGMTjgK5p/vk3RrbIb6ts+yngzSiXTw+rPbGdurT1Ir4C92YO4vXhj3m u025F34YqIkTI/rrsYCKQfPy7ri5+R71lEXTC2J1+j/Jy4tCA9WHHEjvrtBLQt6UnblR ex/O2tr7GZARvyerX8aJRLNIYyg0JeP+TBHqiVWGiGNgnmOicaStWnHVZdxieiyN/ayi e9LRcP9v46pdxDmvbc7zou1LL78HzxXfWxFoKPAx8bM4dlstuMGZnPN8C1GYRaFB1T3q 5biQ== 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=fM2o/qaCw6tVIz3OZxV05LpqMBiyBWeHwaOQU660ZPo=; b=xgOA4Qt14QHz9UTeBt+Hrk2EIWb4zQGNjgsunB3S9grsJTYziHoyoijREiwcaxKLix t8YcR/q3nSO0BU1FI2rTGi1J0OLPtL2Y2cFAfpumfqNyhaYJL3+MI7RpAxO5I9G0Y/vU JaVXa7tURAtwudIjF68AnyahkCdNYDDy6pmMXkiWy1hGFSTml+4pq2ZtYbdVewSQW+JB 2Sq+zpLbSSELvqU4VOAo8AF5VpU5F0jwE+UOyez/cLEOApEHt1F7qNjs9LqBJrHaYFH1 ldOF/xEqFwPzIaPwRCLBekswW/6+4NX7s9aSq+bko3EIAr6k21y3dAwoIdaX10taX7WN yYDA== 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 i3-v6si2050966pld.454.2018.08.07.16.20.50; Tue, 07 Aug 2018 16:21:05 -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 S1727233AbeHHBgc (ORCPT + 99 others); Tue, 7 Aug 2018 21:36:32 -0400 Received: from gateway33.websitewelcome.com ([192.185.145.239]:37720 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726680AbeHHBgb (ORCPT ); Tue, 7 Aug 2018 21:36:31 -0400 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 1D197467EE for ; Tue, 7 Aug 2018 18:19:49 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBGRf7JdXbXuJnBGUfWLGG; Tue, 07 Aug 2018 18:19:48 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48082 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBGR-001trs-BY; Tue, 07 Aug 2018 18:19:43 -0500 Date: Tue, 7 Aug 2018 18:19:42 -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 15/33] i40e_main: mark expected switch fall-through Message-ID: <26fb4ceb500109db986fbc938845997cf83e17b4.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: 1fnBGR-001trs-BY X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48082 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 112 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: 114790 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 5176242..a1a274d 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -1800,6 +1800,7 @@ static void i40e_vsi_setup_queue_map(struct i40e_vsi *vsi, num_tc_qps); break; } + /* fall through */ case I40E_VSI_FDIR: case I40E_VSI_SRIOV: case I40E_VSI_VMDQ2: -- 2.7.4