From patchwork Tue Aug 7 23:09:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gustavo A. R. Silva" X-Patchwork-Id: 10559319 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CEBE514E2 for ; Tue, 7 Aug 2018 23:10:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1FC529F7F for ; Tue, 7 Aug 2018 23:10:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0C7229F8A; Tue, 7 Aug 2018 23:10:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 925E429F7F for ; Tue, 7 Aug 2018 23:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bojOt+HD6+alk590N+Iya/6377Z//kwCv3+8IuERRik=; b=bhPg5jSv5Na6ue 1OVlTv4Nf7tF3Iypv9g+wSAN4b2pAbu/uRSPbrVMk9+kXEqbtlgHdYe634S6dvtXlj+teGwT7Iu+X ZQg3je0lUnLbnnwS53y2LPJQtWJPLMeFDkvBK3IwfHWToA9ZFhTjkp7nhS2CRazwpcTI3H62dtrVO Rg7i63nopZaePSlPLFKjxhEiAt2QQZBbJimePb5ZaTWbCMR69/rLGKD93PZ0/x2ep9im85YANcmkO TCb/h5UgA78uACYIqcgL9IiL7Op6edfToxc4clJSYbKoKimAh44ZA6J+nAy1ilSSB0/3Chf1L9hg2 4bjHqmsYE+q6uFC3vpuQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnB6y-0007JT-9N; Tue, 07 Aug 2018 23:09:56 +0000 Received: from gateway34.websitewelcome.com ([192.185.148.119]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnB6u-0007H8-Vl for linux-arm-kernel@lists.infradead.org; Tue, 07 Aug 2018 23:09:54 +0000 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway34.websitewelcome.com (Postfix) with ESMTP id 663F2344B44 for ; Tue, 7 Aug 2018 18:09:29 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nB6Pf6mrRbXuJnB6TfVoYC; Tue, 07 Aug 2018 18:09:28 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48018 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnB68-001oXX-0Q; Tue, 07 Aug 2018 18:09:04 -0500 Date: Tue, 7 Aug 2018 18:09:00 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 00/33] net: ethernet: Mark expected switch fall-throughs Message-ID: MIME-Version: 1.0 Content-Disposition: inline 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 - lists.infradead.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: 1fnB68-001oXX-0Q X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48018 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 19 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180807_160953_113517_D037AC3A X-CRM114-Status: UNSURE ( 6.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ajit Khaparde , Felix Manlunas , Somnath Kotur , Ariel Elior , Samuel Chessman , Edward Cree , Byungho An , linux-acenic@sunsite.dk, Vipul Pandya , Leon Romanovsky , linux-rdma@vger.kernel.org, Saeed Mahameed , intel-wired-lan@lists.osuosl.org, Ganesh Goudar , Harish Patil , Sunil Goutham , Yisen Zhuang , Jeff Kirsher , Jes Sorensen , Santosh Raspatur , Robert Richter , Rahul Verma , Girish K S , Salil Mehta , Derek Chickles , Sathya Perla , Michael Chan , everest-linux-l2@cavium.com, Raghu Vatsavayi , linux-arm-kernel@lists.infradead.org, Bert Kenward , Solarflare linux maintainers , Sriharsha Basavapatna , linux-parisc@vger.kernel.org, Satanand Burla , Dept-GELinuxNICDev@cavium.com, Jon Mason , Manish Chopra , Tariq Toukan Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, In preparation to enabling -Wimplicit-fallthrough, this patchset aims to add some annotations in order to mark switch cases where we are expecting to fall through. Thanks Gustavo A. R. Silva (33): 8390: axnet_cs: Mark expected switch fall-through alteon: acenic: mark expected switch fall-through bnx2x: Mark expected switch fall-thoughs net: macb: Mark expected switch fall-through liquidio: mark expected switch fall-through cxgb4/l2t: Mark expected switch fall-through cxgb4/t4_hw: mark expected switch fall-throughs cxgb3/l2t: Mark expected switch fall-through net: thunderx: mark expected switch fall-through net: tulip_core: mark expected switch fall-through net: tulip: de4x5: mark expected switch fall-throughs be2net: Mark expected switch fall-through net: hns: Mark expected switch fall-through net: hns3: Mark expected switch fall-through i40e_main: mark expected switch fall-through i40e_txrx: mark expected switch fall-through net/mlx4/mcg: Mark expected switch fall-throughs net/mlx4/en_rx: Mark expected switch fall-throughs igb_main: Mark expected switch fall-throughs igb: e1000_82575: Mark expected switch fall-through igb: e1000_phy: Mark expected switch fall-through igbvf: netdev: Mark expected switch fall-through vxge: Mark expected switch fall-throughs net/mlx5e: Mark expected switch fall-throughs qed: qed_dev: Mark expected switch fall-throughs netxen_nic: Mark expected switch fall-throughs qede: qede_fp: Mark expected switch fall-through qlcnic: Mark expected switch fall-througs qlge: mark expected switch fall-through net: ethernet: sxgbe: mark expected switch fall-throughs net: sfc: falcon: mark expected switch fall-through net: tlan: Mark expected switch fall-through net: ethernet: ti: cpts: mark expected switch fall-through drivers/net/ethernet/8390/axnet_cs.c | 1 + drivers/net/ethernet/alteon/acenic.c | 1 + drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- drivers/net/ethernet/cadence/macb_ptp.c | 1 + drivers/net/ethernet/cavium/liquidio/lio_main.c | 1 + drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c | 1 + drivers/net/ethernet/chelsio/cxgb3/l2t.c | 1 + drivers/net/ethernet/chelsio/cxgb4/l2t.c | 1 + drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 3 +++ drivers/net/ethernet/dec/tulip/de4x5.c | 6 ++++++ drivers/net/ethernet/dec/tulip/tulip_core.c | 1 + drivers/net/ethernet/emulex/benet/be_ethtool.c | 1 + drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 1 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 1 + drivers/net/ethernet/intel/i40e/i40e_main.c | 1 + drivers/net/ethernet/intel/i40e/i40e_txrx.c | 3 ++- drivers/net/ethernet/intel/igb/e1000_82575.c | 1 + drivers/net/ethernet/intel/igb/e1000_phy.c | 1 + drivers/net/ethernet/intel/igb/igb_main.c | 2 ++ drivers/net/ethernet/intel/igbvf/netdev.c | 1 + drivers/net/ethernet/mellanox/mlx4/en_rx.c | 2 ++ drivers/net/ethernet/mellanox/mlx4/mcg.c | 2 ++ drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c | 2 ++ drivers/net/ethernet/neterion/vxge/vxge-config.c | 3 +++ drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c | 3 ++- drivers/net/ethernet/qlogic/qed/qed_dev.c | 4 ++-- drivers/net/ethernet/qlogic/qede/qede_fp.c | 2 ++ drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c | 3 ++- drivers/net/ethernet/qlogic/qlge/qlge_mpi.c | 1 + drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c | 2 ++ drivers/net/ethernet/sfc/falcon/ethtool.c | 1 + drivers/net/ethernet/ti/cpts.c | 1 + drivers/net/ethernet/ti/tlan.c | 1 + 33 files changed, 52 insertions(+), 6 deletions(-)