Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp168047imm; Tue, 7 Aug 2018 16:14:48 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw9SA1m/HHR1ey5KYBL89sOW331h9DyEQFM+tMPqJCKLc9f8nSh0n0Y1G5LO6ANLIuSRYJi X-Received: by 2002:a62:4dc1:: with SMTP id a184-v6mr352693pfb.5.1533683688282; Tue, 07 Aug 2018 16:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533683688; cv=none; d=google.com; s=arc-20160816; b=of3RSvJ+ytGJ299t8wOpbWUAftjZ6U1KaxaZWHScJm8j0X+540X1bCDlSKzVeEPPtA 2hbYh3VB9vV8XhU6HNR3xKLU7RKlf0sYyQdonT3YYkQiSs91z2x2xWIFtpZWFsFqCKV9 Iv/Sjvf4iexA3phgqoU212K5gcufhjEJvDkIbaUXvfiiXUm6lVTGh+kgsHxsh8sgiX7e a3T7ZzUXpVF6TLbqbTcVSGAAtHudiRuqb9tk418vtoyauXe28itFqaK95C6jnNTBlpDG sPPigprRl1Dici5g6mMszLFonc1/lSxP/MhY5Il4cs0yA1CC5eX69ridhVdoTzfb+lvb Sxig== 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=d8tU/r1SrRCuQDO8m51EnLvSwqkqA+BTAmTfavwChUA=; b=DYQ47ZkX5YRRv4w6oWMGkpfFybPvstoep2qntNmxlS9RMlSy+JzzzgdbEzassIgchg l4B2Ajq6BWnKxmmJu56Ntt+ApOdsKEC0gtl9XLn0wN/JYyDfov17wZrUOoKS2A1Sbk+1 BMCPbEzgWCGhtB3DflL8QPEo6DfuvViAA0LE6PKtlP/L5F00RvSt4/5UHbajfLR5jvxX UqYyScc59DIB13PUr9EWAT8nU1ZYi537KpF1oF3mBBTJqgIE3C6y2UEhM0LWgruHvPKm EJ1Bzs6BEJ0jD3S3kUk7t3+thIrKQ2/WEGXPRDFGd/nWCqFHAL6urnAtK1hzFnntltbu eOJw== 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 o19-v6si2543134pgl.212.2018.08.07.16.14.33; Tue, 07 Aug 2018 16:14:48 -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 S1727117AbeHHB36 (ORCPT + 99 others); Tue, 7 Aug 2018 21:29:58 -0400 Received: from gateway32.websitewelcome.com ([192.185.145.107]:37451 "EHLO gateway32.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbeHHB35 (ORCPT ); Tue, 7 Aug 2018 21:29:57 -0400 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway32.websitewelcome.com (Postfix) with ESMTP id BAEDA11465F for ; Tue, 7 Aug 2018 18:13:15 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBA3f6zQwbXuJnBA8fW174; Tue, 07 Aug 2018 18:13:15 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48050 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBA2-001qZX-7q; Tue, 07 Aug 2018 18:13:06 -0500 Date: Tue, 7 Aug 2018 18:13:05 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Cc: Derek Chickles , Satanand Burla , Felix Manlunas , Raghu Vatsavayi Subject: [PATCH 05/33] liquidio: mark expected switch fall-through Message-ID: <7c765518009b08ecff62a9b4a8be9c2866f29686.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: 1fnBA2-001qZX-7q X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48050 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 62 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: 143135 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/cavium/liquidio/lio_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/cavium/liquidio/lio_main.c b/drivers/net/ethernet/cavium/liquidio/lio_main.c index 8ef87a7..6fb13fa 100644 --- a/drivers/net/ethernet/cavium/liquidio/lio_main.c +++ b/drivers/net/ethernet/cavium/liquidio/lio_main.c @@ -2209,6 +2209,7 @@ static int liquidio_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) case SIOCSHWTSTAMP: if (lio->oct_dev->ptp_enable) return hwtstamp_ioctl(netdev, ifr); + /* fall through */ default: return -EOPNOTSUPP; } -- 2.7.4