Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp165967imm; Tue, 7 Aug 2018 16:12:06 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyG/CncL8JM//lUfJuGJnIuVZemzq70lkPlxiq76wQefle1ngi0PCw121I3iWKomFo8D1he X-Received: by 2002:a62:63c2:: with SMTP id x185-v6mr341052pfb.13.1533683526697; Tue, 07 Aug 2018 16:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533683526; cv=none; d=google.com; s=arc-20160816; b=f4LxCr4Z/iaGd1oZfWxydboj3ZDTr/lUUrtvurq0kmKVDedYglrhuIE4Ej3PAC2fgl fIkY7JzpfKoxnYBcNxvnWOkw+Q5RKZam0q83LVmEVmpdmSEJiaRftkqwQHJFUB2R+KRd S1j3ZykJTeB+DOLDLXgGLPkevpUkRpUhdYIZAD3fJmf+I1s2JQZOjRyO1bU4ZqK2uHb4 0z7FFVn2L4EQkOvLSvclAB5fYU21CnZ0j94ORihoH6BKq9xpjkJcjNTX7RAZx/FhMhZN e0X3sma8LIC9hcdD2jkrt9PuTxEpfiOYru2f5cleMkKXy7MvQdg7gi5AhspqmdaVUXJu 06hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=jhC0ywfHx1GK0IA7B1339NAlIgNWUe8S7s4e7U3SMuE=; b=qYoXcRU4qob3SrdKXklLFVVIU+lserrIHMXqt+TBlJlPNkwdjjFdwXFOPuno9I4PvF +CvbUHRXo13p9uVDJV9xQni9XBGzopGp8mROb+BGoVPzyXqORk5pugFNIIwZXBq91pJm 06pLtpjbwAEKKOwrVYu30myDEzlybYc1DWz89V0gBbJN9DDJqx7www8JQW712y6tp9R5 m81olbuvfk6mmAMBdeVMgGCSBwCmW2ar0l4DqFwOJ6pMnG8U/LBnpB4aeELKAVE4F7KO 3LRpuNEen6RRLujs6zz+Ox3j7Dl6vR7Zw3+pku88Cs0W0262lKwJV3/kQbDoXvQ4plyw t2Yw== 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 p14-v6si2607298pfk.275.2018.08.07.16.11.52; Tue, 07 Aug 2018 16:12:06 -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 S1726998AbeHHB1m (ORCPT + 99 others); Tue, 7 Aug 2018 21:27:42 -0400 Received: from gateway36.websitewelcome.com ([192.185.179.26]:44297 "EHLO gateway36.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726625AbeHHB1m (ORCPT ); Tue, 7 Aug 2018 21:27:42 -0400 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway36.websitewelcome.com (Postfix) with ESMTP id 91193400C5D80 for ; Tue, 7 Aug 2018 17:12:32 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nB6cfilrsBcCXnB6ffInyM; Tue, 07 Aug 2018 18:09:41 -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" Cc: Solarflare linux maintainers , Edward Cree , Bert Kenward , Jes Sorensen , linux-acenic@sunsite.dk, Michael Chan , Nicolas Ferre , Derek Chickles , Satanand Burla , Felix Manlunas , Raghu Vatsavayi , Ganesh Goudar , Santosh Raspatur , Sunil Goutham , Robert Richter , linux-arm-kernel@lists.infradead.org, linux-parisc@vger.kernel.org, Sathya Perla , Ajit Khaparde , Sriharsha Basavapatna , Somnath Kotur , Yisen Zhuang , Salil Mehta , Jeff Kirsher , intel-wired-lan@lists.osuosl.org, Tariq Toukan , linux-rdma@vger.kernel.org, Jon Mason , Saeed Mahameed , Leon Romanovsky , Ariel Elior , everest-linux-l2@cavium.com, Manish Chopra , Rahul Verma , Dept-GELinuxNICDev@cavium.com, Harish Patil , Byungho An , Girish K S , Vipul Pandya , Samuel Chessman Subject: [PATCH 00/33] net: ethernet: Mark expected switch fall-throughs Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 - 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: 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: 3 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 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(-) -- 2.7.4