Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp179993imm; Tue, 7 Aug 2018 16:31:34 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyayE/ICdREvTsq1Tc46weKses1cy+WJ8BFye6/Ix3vKa5AqNmSg4EbnyjYkl8Cjb7cVaax X-Received: by 2002:a17:902:1081:: with SMTP id c1-v6mr345967pla.250.1533684694649; Tue, 07 Aug 2018 16:31:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533684694; cv=none; d=google.com; s=arc-20160816; b=AKlhv54HuC8XSMEcVh5jik803cCg9sTbVYUcjBtazJ7s32N7DLZo5tzHr+othtA8cI gS8rC0RgoZxE0CR+3pwsl+swCwKbtIAMhPub4USSmrZWQXCFqO75urwywBPYjtxcKLbL Ts+AK19HeLEMmza2K6gZzU6C/z/jGDfVJTgZWz4qFwRudiOKODlT/iRnPkD2FBw3OeiB jaqDxgbGqWxg8SO/NHLVqndkPBQ9/GUMt14kL/bFJDOpJt9ZFYAZg0hr+OIXZcVJKdkt ii70qrrzKdPS8m48F6Bv3R0MzazT1uaQaQ+fgzUC5OXGav7Y1f5mLq4kMRv1ogEC/Juc rm7A== 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=exZsfa91dyV12Q8s0Qn8WqoTh2h5ppnWbIY+x83Imjg=; b=AS1tLCm7J0XB74bqrhfOXS1bb68GHjfe7wfjjGeHQ6Tu7L94stLs+eSoFHQLAAY/iN DmKegbChcLjlXmvbuXubbn1UbkN0fC1Xa4N0iI7VCrzBORLg5j0f2xuBgDjW/qjYWV61 EUdmY1AirBAxeigz8Ye3kVSnt3wAsEyOPQHVzJu6Stv2WPDn8EdQVwsRViz67VmFNwok TIT63SnPSnVocpEwlZO7Z2Blzryz6/+P+HrzRCK+ACt+AWikhKjAgl4zCUr3Mt4DAaVp fhXpqGDW0WUYQTuhg6VvjqSbevBAAPGJq0bEpdWdY8UsuZ2OzNanVD+3gxhHSewVcsXc IELQ== 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.31.19; Tue, 07 Aug 2018 16:31:34 -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 S1726158AbeHHBrJ (ORCPT + 99 others); Tue, 7 Aug 2018 21:47:09 -0400 Received: from gateway20.websitewelcome.com ([192.185.49.40]:48297 "EHLO gateway20.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725910AbeHHBrJ (ORCPT ); Tue, 7 Aug 2018 21:47:09 -0400 X-Greylist: delayed 1259 seconds by postgrey-1.27 at vger.kernel.org; Tue, 07 Aug 2018 21:47:08 EDT Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway20.websitewelcome.com (Postfix) with ESMTP id EE50A400F0BE4 for ; Tue, 7 Aug 2018 18:09:28 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nB6Of6moxbXuJnB6TfVoZ3; Tue, 07 Aug 2018 18:09:28 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48026 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnB6O-001olj-3Q; Tue, 07 Aug 2018 18:09:20 -0500 Date: Tue, 7 Aug 2018 18:09:19 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Cc: Jes Sorensen , linux-acenic@sunsite.dk Subject: [PATCH 02/33] alteon: acenic: 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: 1fnB6O-001olj-3Q X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48026 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 49 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: 114891 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/alteon/acenic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/alteon/acenic.c b/drivers/net/ethernet/alteon/acenic.c index 08945ba..4f11f98 100644 --- a/drivers/net/ethernet/alteon/acenic.c +++ b/drivers/net/ethernet/alteon/acenic.c @@ -551,6 +551,7 @@ static int acenic_probe_one(struct pci_dev *pdev, ap->name); break; } + /* Fall through */ case PCI_VENDOR_ID_SGI: printk(KERN_INFO "%s: SGI AceNIC ", ap->name); break; -- 2.7.4