Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1004189ybt; Fri, 19 Jun 2020 21:17:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMDsB6ghgO0zMFMaDzQ3bTtulHrntyB6arYXH8AbGxYs5Da5Xzz2l3TYEHtfbQU0i2OkQS X-Received: by 2002:a50:fa0c:: with SMTP id b12mr1184098edq.226.1592626662704; Fri, 19 Jun 2020 21:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592626662; cv=none; d=google.com; s=arc-20160816; b=KvnTKpqPzbYJ4n3efesK4ZH0ZH72hgCEjfLn0NmK7oRUGqMBCsvqdd0u1WR4dR9WN8 YzdqyoTArQ+nPS85UnoDeOqkZlLUzeYDXWa2DoHdY15Em0qiEjOid6N/W1GrxW3IVrcn ozpMzyO1YPDrmMJb17sNvGaH5ql52Y2mJCuXd6va8+GMlPnSAvXnsJViV017eBEslWBo PYvmps3tMHnBj0SBIJygUzCQu+3eRxf9LP6Plb0rPryEdnD/sAfsw6dfUY/5H3dwIkTF X8jAFYWfAvz1GMqq79SJgvntnFMXgR9qNcD7yNw25xKg8w0N5qaih3+4qhmdWkeK/XWC CXeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=+6q9jCMs1YMxn+QrQJ+ZC1L8yFHVEKZ59NR+XfU2XrA=; b=nd4269dH/xxZ9ng3WiWlEjGb5xkL1itLR6ijge4sM3hGPfhQDwTshWE0ra5dl4RYqx PI0DQF5br/2QfWLldiJFP3uDPnAxh8dZ9l3Kz/5DZocFykQKQ79r8yl8e0mbVu/EwpCW JjAmBvBEZUzSkX7w0pCDJnouMJNUXrOz7CET7UADtmeQ8VhMF84h5108Sdd0zEh3g7h6 /u7bfvp6keT6hB6o/qPDiIHzFVoDtCuwpfie/qh43b4u8w8DHkScwl9vRCTQIVF1WtvV VeoxBsFg3Ee/Yi6CVBqMs4BmiaSTZFKcSVbP6UMJJEldcVe/do49kmtpbrb4TntL51H6 0vcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=PtMOFRBk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd12si5093701ejb.59.2020.06.19.21.17.20; Fri, 19 Jun 2020 21:17:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=PtMOFRBk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392863AbgFSRfV (ORCPT + 99 others); Fri, 19 Jun 2020 13:35:21 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:46140 "EHLO mail-40131.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391252AbgFSRfS (ORCPT ); Fri, 19 Jun 2020 13:35:18 -0400 Date: Fri, 19 Jun 2020 17:35:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1592588113; bh=+6q9jCMs1YMxn+QrQJ+ZC1L8yFHVEKZ59NR+XfU2XrA=; h=Date:To:From:Cc:Reply-To:Subject:From; b=PtMOFRBkvdC0WfCR3euZ+gTBw+Tt02ulTnjyh7OWCoJbHI4lF/X/akbot/lrG6gCV Mx0PHvVQcQLG6MalzP1A7cm9zprXLluzxyU32okvvEFAxrzU6lZsN8PcpBBFBELv6G D4CHpnzDUzcwV3TNe9b29sptRN8viB2fj+9V+8YVnBScb+B/XIJAI/UKz98jrpgA3w pb2uiw9QwtTw63JkfXzfiNl3xXBLBG1hYVpnsDq5RWoNvRSAh/p+P3I2gDH+//U1TS wKgImEsQTgFpfLGtT1XXdeA9A5A2ZjBsQgmRy3WSufynde++1BJlb3wLROOGgrwzPt QrebTrLIfoDHA== To: "David S. Miller" , Jakub Kicinski From: Alexander Lobakin Cc: Michal Kubecek , Florian Fainelli , Andrew Lunn , Jiri Pirko , Antoine Tenart , Steffen Klassert , Aya Levin , Tom Herbert , Alexander Lobakin , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH net 2/3] net: ethtool: fix indentation of netdev_features_strings Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The current indentation is an absolute mess of tabs, spaces and their mixes in different proportions. Convert it all to plain tabs and move assignment operation char to the right, which is the most commonly used style in Linux code. Signed-off-by: Alexander Lobakin --- net/ethtool/common.c | 120 +++++++++++++++++++++---------------------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/net/ethtool/common.c b/net/ethtool/common.c index aaecfc916a4d..c8e3fce6e48d 100644 --- a/net/ethtool/common.c +++ b/net/ethtool/common.c @@ -6,66 +6,66 @@ #include "common.h" =20 const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = =3D { -=09[NETIF_F_SG_BIT] =3D "tx-scatter-gather", -=09[NETIF_F_IP_CSUM_BIT] =3D "tx-checksum-ipv4", -=09[NETIF_F_HW_CSUM_BIT] =3D "tx-checksum-ip-generic", -=09[NETIF_F_IPV6_CSUM_BIT] =3D "tx-checksum-ipv6", -=09[NETIF_F_HIGHDMA_BIT] =3D "highdma", -=09[NETIF_F_FRAGLIST_BIT] =3D "tx-scatter-gather-fraglist", -=09[NETIF_F_HW_VLAN_CTAG_TX_BIT] =3D "tx-vlan-hw-insert", - -=09[NETIF_F_HW_VLAN_CTAG_RX_BIT] =3D "rx-vlan-hw-parse", -=09[NETIF_F_HW_VLAN_CTAG_FILTER_BIT] =3D "rx-vlan-filter", -=09[NETIF_F_HW_VLAN_STAG_TX_BIT] =3D "tx-vlan-stag-hw-insert", -=09[NETIF_F_HW_VLAN_STAG_RX_BIT] =3D "rx-vlan-stag-hw-parse", -=09[NETIF_F_HW_VLAN_STAG_FILTER_BIT] =3D "rx-vlan-stag-filter", -=09[NETIF_F_VLAN_CHALLENGED_BIT] =3D "vlan-challenged", -=09[NETIF_F_GSO_BIT] =3D "tx-generic-segmentation", -=09[NETIF_F_LLTX_BIT] =3D "tx-lockless", -=09[NETIF_F_NETNS_LOCAL_BIT] =3D "netns-local", -=09[NETIF_F_GRO_BIT] =3D "rx-gro", -=09[NETIF_F_GRO_HW_BIT] =3D "rx-gro-hw", -=09[NETIF_F_LRO_BIT] =3D "rx-lro", - -=09[NETIF_F_TSO_BIT] =3D "tx-tcp-segmentation", -=09[NETIF_F_GSO_ROBUST_BIT] =3D "tx-gso-robust", -=09[NETIF_F_TSO_ECN_BIT] =3D "tx-tcp-ecn-segmentation", -=09[NETIF_F_TSO_MANGLEID_BIT] =3D=09 "tx-tcp-mangleid-segmentation", -=09[NETIF_F_TSO6_BIT] =3D "tx-tcp6-segmentation", -=09[NETIF_F_FSO_BIT] =3D "tx-fcoe-segmentation", -=09[NETIF_F_GSO_GRE_BIT] =3D=09=09 "tx-gre-segmentation", -=09[NETIF_F_GSO_GRE_CSUM_BIT] =3D=09 "tx-gre-csum-segmentation", -=09[NETIF_F_GSO_IPXIP4_BIT] =3D=09 "tx-ipxip4-segmentation", -=09[NETIF_F_GSO_IPXIP6_BIT] =3D=09 "tx-ipxip6-segmentation", -=09[NETIF_F_GSO_UDP_TUNNEL_BIT] =3D=09 "tx-udp_tnl-segmentation", -=09[NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT] =3D "tx-udp_tnl-csum-segmentation", -=09[NETIF_F_GSO_PARTIAL_BIT] =3D=09 "tx-gso-partial", -=09[NETIF_F_GSO_TUNNEL_REMCSUM_BIT] =3D "tx-tunnel-remcsum-segmentation", -=09[NETIF_F_GSO_SCTP_BIT] =3D=09 "tx-sctp-segmentation", -=09[NETIF_F_GSO_ESP_BIT] =3D=09=09 "tx-esp-segmentation", -=09[NETIF_F_GSO_UDP_L4_BIT] =3D=09 "tx-udp-segmentation", -=09[NETIF_F_GSO_FRAGLIST_BIT] =3D=09 "tx-gso-list", - -=09[NETIF_F_FCOE_CRC_BIT] =3D "tx-checksum-fcoe-crc", -=09[NETIF_F_SCTP_CRC_BIT] =3D "tx-checksum-sctp", -=09[NETIF_F_FCOE_MTU_BIT] =3D "fcoe-mtu", -=09[NETIF_F_NTUPLE_BIT] =3D "rx-ntuple-filter", -=09[NETIF_F_RXHASH_BIT] =3D "rx-hashing", -=09[NETIF_F_RXCSUM_BIT] =3D "rx-checksum", -=09[NETIF_F_NOCACHE_COPY_BIT] =3D "tx-nocache-copy", -=09[NETIF_F_LOOPBACK_BIT] =3D "loopback", -=09[NETIF_F_RXFCS_BIT] =3D "rx-fcs", -=09[NETIF_F_RXALL_BIT] =3D "rx-all", -=09[NETIF_F_HW_L2FW_DOFFLOAD_BIT] =3D "l2-fwd-offload", -=09[NETIF_F_HW_TC_BIT] =3D=09=09 "hw-tc-offload", -=09[NETIF_F_HW_ESP_BIT] =3D=09=09 "esp-hw-offload", -=09[NETIF_F_HW_ESP_TX_CSUM_BIT] =3D=09 "esp-tx-csum-hw-offload", -=09[NETIF_F_RX_UDP_TUNNEL_PORT_BIT] =3D=09 "rx-udp_tunnel-port-offload", -=09[NETIF_F_HW_TLS_RECORD_BIT] =3D=09"tls-hw-record", -=09[NETIF_F_HW_TLS_TX_BIT] =3D=09 "tls-hw-tx-offload", -=09[NETIF_F_HW_TLS_RX_BIT] =3D=09 "tls-hw-rx-offload", -=09[NETIF_F_GRO_FRAGLIST_BIT] =3D=09 "rx-gro-list", -=09[NETIF_F_HW_MACSEC_BIT] =3D=09 "macsec-hw-offload", +=09[NETIF_F_SG_BIT]=09=09=09=3D "tx-scatter-gather", +=09[NETIF_F_IP_CSUM_BIT]=09=09=09=3D "tx-checksum-ipv4", +=09[NETIF_F_HW_CSUM_BIT]=09=09=09=3D "tx-checksum-ip-generic", +=09[NETIF_F_IPV6_CSUM_BIT]=09=09=09=3D "tx-checksum-ipv6", +=09[NETIF_F_HIGHDMA_BIT]=09=09=09=3D "highdma", +=09[NETIF_F_FRAGLIST_BIT]=09=09=09=3D "tx-scatter-gather-fraglist", +=09[NETIF_F_HW_VLAN_CTAG_TX_BIT]=09=09=3D "tx-vlan-hw-insert", + +=09[NETIF_F_HW_VLAN_CTAG_RX_BIT]=09=09=3D "rx-vlan-hw-parse", +=09[NETIF_F_HW_VLAN_CTAG_FILTER_BIT]=09=3D "rx-vlan-filter", +=09[NETIF_F_HW_VLAN_STAG_TX_BIT]=09=09=3D "tx-vlan-stag-hw-insert", +=09[NETIF_F_HW_VLAN_STAG_RX_BIT]=09=09=3D "rx-vlan-stag-hw-parse", +=09[NETIF_F_HW_VLAN_STAG_FILTER_BIT]=09=3D "rx-vlan-stag-filter", +=09[NETIF_F_VLAN_CHALLENGED_BIT]=09=09=3D "vlan-challenged", +=09[NETIF_F_GSO_BIT]=09=09=09=3D "tx-generic-segmentation", +=09[NETIF_F_LLTX_BIT]=09=09=09=3D "tx-lockless", +=09[NETIF_F_NETNS_LOCAL_BIT]=09=09=3D "netns-local", +=09[NETIF_F_GRO_BIT]=09=09=09=3D "rx-gro", +=09[NETIF_F_GRO_HW_BIT]=09=09=09=3D "rx-gro-hw", +=09[NETIF_F_LRO_BIT]=09=09=09=3D "rx-lro", + +=09[NETIF_F_TSO_BIT]=09=09=09=3D "tx-tcp-segmentation", +=09[NETIF_F_GSO_ROBUST_BIT]=09=09=3D "tx-gso-robust", +=09[NETIF_F_TSO_ECN_BIT]=09=09=09=3D "tx-tcp-ecn-segmentation", +=09[NETIF_F_TSO_MANGLEID_BIT]=09=09=3D "tx-tcp-mangleid-segmentation", +=09[NETIF_F_TSO6_BIT]=09=09=09=3D "tx-tcp6-segmentation", +=09[NETIF_F_FSO_BIT]=09=09=09=3D "tx-fcoe-segmentation", +=09[NETIF_F_GSO_GRE_BIT]=09=09=09=3D "tx-gre-segmentation", +=09[NETIF_F_GSO_GRE_CSUM_BIT]=09=09=3D "tx-gre-csum-segmentation", +=09[NETIF_F_GSO_IPXIP4_BIT]=09=09=3D "tx-ipxip4-segmentation", +=09[NETIF_F_GSO_IPXIP6_BIT]=09=09=3D "tx-ipxip6-segmentation", +=09[NETIF_F_GSO_UDP_TUNNEL_BIT]=09=09=3D "tx-udp_tnl-segmentation", +=09[NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT]=09=3D "tx-udp_tnl-csum-segmentation", +=09[NETIF_F_GSO_PARTIAL_BIT]=09=09=3D "tx-gso-partial", +=09[NETIF_F_GSO_TUNNEL_REMCSUM_BIT]=09=3D "tx-tunnel-remcsum-segmentation"= , +=09[NETIF_F_GSO_SCTP_BIT]=09=09=09=3D "tx-sctp-segmentation", +=09[NETIF_F_GSO_ESP_BIT]=09=09=09=3D "tx-esp-segmentation", +=09[NETIF_F_GSO_UDP_L4_BIT]=09=09=3D "tx-udp-segmentation", +=09[NETIF_F_GSO_FRAGLIST_BIT]=09=09=3D "tx-gso-list", + +=09[NETIF_F_FCOE_CRC_BIT]=09=09=09=3D "tx-checksum-fcoe-crc", +=09[NETIF_F_SCTP_CRC_BIT]=09=09=09=3D "tx-checksum-sctp", +=09[NETIF_F_FCOE_MTU_BIT]=09=09=09=3D "fcoe-mtu", +=09[NETIF_F_NTUPLE_BIT]=09=09=09=3D "rx-ntuple-filter", +=09[NETIF_F_RXHASH_BIT]=09=09=09=3D "rx-hashing", +=09[NETIF_F_RXCSUM_BIT]=09=09=09=3D "rx-checksum", +=09[NETIF_F_NOCACHE_COPY_BIT]=09=09=3D "tx-nocache-copy", +=09[NETIF_F_LOOPBACK_BIT]=09=09=09=3D "loopback", +=09[NETIF_F_RXFCS_BIT]=09=09=09=3D "rx-fcs", +=09[NETIF_F_RXALL_BIT]=09=09=09=3D "rx-all", +=09[NETIF_F_HW_L2FW_DOFFLOAD_BIT]=09=09=3D "l2-fwd-offload", +=09[NETIF_F_HW_TC_BIT]=09=09=09=3D "hw-tc-offload", +=09[NETIF_F_HW_ESP_BIT]=09=09=09=3D "esp-hw-offload", +=09[NETIF_F_HW_ESP_TX_CSUM_BIT]=09=09=3D "esp-tx-csum-hw-offload", +=09[NETIF_F_RX_UDP_TUNNEL_PORT_BIT]=09=3D "rx-udp_tunnel-port-offload", +=09[NETIF_F_HW_TLS_RECORD_BIT]=09=09=3D "tls-hw-record", +=09[NETIF_F_HW_TLS_TX_BIT]=09=09=09=3D "tls-hw-tx-offload", +=09[NETIF_F_HW_TLS_RX_BIT]=09=09=09=3D "tls-hw-rx-offload", +=09[NETIF_F_GRO_FRAGLIST_BIT]=09=09=3D "rx-gro-list", +=09[NETIF_F_HW_MACSEC_BIT]=09=09=09=3D "macsec-hw-offload", }; =20 const char --=20 2.27.0