Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3099208ybt; Mon, 22 Jun 2020 15:07:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6QAzOcICKIuIGliVSFq88kLvQ+fwtq+QtAtWq7BIaT1Hj31ieooFtQKr/0qBTJ1Tt2uX+ X-Received: by 2002:a17:906:3e0c:: with SMTP id k12mr16920379eji.441.1592863668238; Mon, 22 Jun 2020 15:07:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592863668; cv=none; d=google.com; s=arc-20160816; b=YvNl3p8XXi6sXtLMVsRIksp+KNuF1sYm5gEpF7ABQRWnXoL/MwqtajN5jfuTX2RGRB pNjCN3Ug/phplZSxTpoGavC/vlZrdDeBiHjrhyTROVzuz4P6n3IQMpKmxthzEOo7xtEc ZnFi6GpvAREjIvkqSdpvj3kcedTGZkWknPEdlm2g/km45gOSD46Jk82OgmYtFzVpNtFB vuZBhXNtrdKPfArB+GSVuZjv3VMeWqGyTjTi0zii9n9uObd1SmtEZ0GD09Ak34VvWAcC dDwOkYL4QkYgJCXmVhcYVwucQUqNSx+DVu3KXcvS8zoWAJ/sCF+27RJO7YHeceMuI3Q1 FHPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=1bxAXT5LI2lQ4c+6DRhlHSF4/bkCKa2Kya9rXYxTG8g=; b=Gdfw9aOiSMIib4/WZSZSO+dRtiILPcmKoNxdMOsxBiRdiHn2B+4Q/zbkzi/nSc8CUy mlNa+UOfR8/7KtoS2o6tk0X7cgtSy+5CGuj2J8m8goawx8Co+pvJocrj1Wkz/OwSov0I gnoSwvEuona0U4tgF9kxWL+/huLXDss2pLK7IvG5xiRArh7V9nsj2O82YWLuiLUv34zz D2Wl1jbkzO8isV/uht8RK62VtGYAiGhcxvPuoX87oWYafaN2OsmBQh7AzIJDYAPC/2lQ Te7W5/ndd0xb57OaS67KjsSAmgZZKT2n/E2O36dRpBagpzo8mXpwfOE0IEnoRJ+rCTSu 9yAg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p91si1202883edb.129.2020.06.22.15.07.25; Mon, 22 Jun 2020 15:07:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730815AbgFVWDp (ORCPT + 99 others); Mon, 22 Jun 2020 18:03:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:54902 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727006AbgFVWDo (ORCPT ); Mon, 22 Jun 2020 18:03:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 9EB64AF26; Mon, 22 Jun 2020 22:03:40 +0000 (UTC) Received: by lion.mk-sys.cz (Postfix, from userid 1000) id D27546048B; Tue, 23 Jun 2020 00:03:40 +0200 (CEST) Date: Tue, 23 Jun 2020 00:03:40 +0200 From: Michal Kubecek To: netdev@vger.kernel.org Cc: Alexander Lobakin , "David S. Miller" , Jakub Kicinski , Florian Fainelli , Andrew Lunn , Jiri Pirko , Antoine Tenart , Steffen Klassert , Aya Levin , Tom Herbert , linux-kernel@vger.kernel.org Subject: Re: [PATCH net 2/3] net: ethtool: fix indentation of netdev_features_strings Message-ID: <20200622220340.hywpi56nhwv3i4qf@lion.mk-sys.cz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4x2w6jrx7shqjepr" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4x2w6jrx7shqjepr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 19, 2020 at 06:50:06PM +0000, Alexander Lobakin wrote: > 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. >=20 > Signed-off-by: Alexander Lobakin Reviewed-by: Michal Kubecek But this is a pure cleanup so it should rather go to net-next. Michal > --- > net/ethtool/common.c | 120 +++++++++++++++++++++---------------------- > 1 file changed, 60 insertions(+), 60 deletions(-) >=20 > 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 { > - [NETIF_F_SG_BIT] =3D "tx-scatter-gather", > - [NETIF_F_IP_CSUM_BIT] =3D "tx-checksum-ipv4", > - [NETIF_F_HW_CSUM_BIT] =3D "tx-checksum-ip-generic", > - [NETIF_F_IPV6_CSUM_BIT] =3D "tx-checksum-ipv6", > - [NETIF_F_HIGHDMA_BIT] =3D "highdma", > - [NETIF_F_FRAGLIST_BIT] =3D "tx-scatter-gather-fraglist", > - [NETIF_F_HW_VLAN_CTAG_TX_BIT] =3D "tx-vlan-hw-insert", > - > - [NETIF_F_HW_VLAN_CTAG_RX_BIT] =3D "rx-vlan-hw-parse", > - [NETIF_F_HW_VLAN_CTAG_FILTER_BIT] =3D "rx-vlan-filter", > - [NETIF_F_HW_VLAN_STAG_TX_BIT] =3D "tx-vlan-stag-hw-insert", > - [NETIF_F_HW_VLAN_STAG_RX_BIT] =3D "rx-vlan-stag-hw-parse", > - [NETIF_F_HW_VLAN_STAG_FILTER_BIT] =3D "rx-vlan-stag-filter", > - [NETIF_F_VLAN_CHALLENGED_BIT] =3D "vlan-challenged", > - [NETIF_F_GSO_BIT] =3D "tx-generic-segmentation", > - [NETIF_F_LLTX_BIT] =3D "tx-lockless", > - [NETIF_F_NETNS_LOCAL_BIT] =3D "netns-local", > - [NETIF_F_GRO_BIT] =3D "rx-gro", > - [NETIF_F_GRO_HW_BIT] =3D "rx-gro-hw", > - [NETIF_F_LRO_BIT] =3D "rx-lro", > - > - [NETIF_F_TSO_BIT] =3D "tx-tcp-segmentation", > - [NETIF_F_GSO_ROBUST_BIT] =3D "tx-gso-robust", > - [NETIF_F_TSO_ECN_BIT] =3D "tx-tcp-ecn-segmentation", > - [NETIF_F_TSO_MANGLEID_BIT] =3D "tx-tcp-mangleid-segmentation", > - [NETIF_F_TSO6_BIT] =3D "tx-tcp6-segmentation", > - [NETIF_F_FSO_BIT] =3D "tx-fcoe-segmentation", > - [NETIF_F_GSO_GRE_BIT] =3D "tx-gre-segmentation", > - [NETIF_F_GSO_GRE_CSUM_BIT] =3D "tx-gre-csum-segmentation", > - [NETIF_F_GSO_IPXIP4_BIT] =3D "tx-ipxip4-segmentation", > - [NETIF_F_GSO_IPXIP6_BIT] =3D "tx-ipxip6-segmentation", > - [NETIF_F_GSO_UDP_TUNNEL_BIT] =3D "tx-udp_tnl-segmentation", > - [NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT] =3D "tx-udp_tnl-csum-segmentation", > - [NETIF_F_GSO_PARTIAL_BIT] =3D "tx-gso-partial", > - [NETIF_F_GSO_TUNNEL_REMCSUM_BIT] =3D "tx-tunnel-remcsum-segmentation", > - [NETIF_F_GSO_SCTP_BIT] =3D "tx-sctp-segmentation", > - [NETIF_F_GSO_ESP_BIT] =3D "tx-esp-segmentation", > - [NETIF_F_GSO_UDP_L4_BIT] =3D "tx-udp-segmentation", > - [NETIF_F_GSO_FRAGLIST_BIT] =3D "tx-gso-list", > - > - [NETIF_F_FCOE_CRC_BIT] =3D "tx-checksum-fcoe-crc", > - [NETIF_F_SCTP_CRC_BIT] =3D "tx-checksum-sctp", > - [NETIF_F_FCOE_MTU_BIT] =3D "fcoe-mtu", > - [NETIF_F_NTUPLE_BIT] =3D "rx-ntuple-filter", > - [NETIF_F_RXHASH_BIT] =3D "rx-hashing", > - [NETIF_F_RXCSUM_BIT] =3D "rx-checksum", > - [NETIF_F_NOCACHE_COPY_BIT] =3D "tx-nocache-copy", > - [NETIF_F_LOOPBACK_BIT] =3D "loopback", > - [NETIF_F_RXFCS_BIT] =3D "rx-fcs", > - [NETIF_F_RXALL_BIT] =3D "rx-all", > - [NETIF_F_HW_L2FW_DOFFLOAD_BIT] =3D "l2-fwd-offload", > - [NETIF_F_HW_TC_BIT] =3D "hw-tc-offload", > - [NETIF_F_HW_ESP_BIT] =3D "esp-hw-offload", > - [NETIF_F_HW_ESP_TX_CSUM_BIT] =3D "esp-tx-csum-hw-offload", > - [NETIF_F_RX_UDP_TUNNEL_PORT_BIT] =3D "rx-udp_tunnel-port-offload", > - [NETIF_F_HW_TLS_RECORD_BIT] =3D "tls-hw-record", > - [NETIF_F_HW_TLS_TX_BIT] =3D "tls-hw-tx-offload", > - [NETIF_F_HW_TLS_RX_BIT] =3D "tls-hw-rx-offload", > - [NETIF_F_GRO_FRAGLIST_BIT] =3D "rx-gro-list", > - [NETIF_F_HW_MACSEC_BIT] =3D "macsec-hw-offload", > + [NETIF_F_SG_BIT] =3D "tx-scatter-gather", > + [NETIF_F_IP_CSUM_BIT] =3D "tx-checksum-ipv4", > + [NETIF_F_HW_CSUM_BIT] =3D "tx-checksum-ip-generic", > + [NETIF_F_IPV6_CSUM_BIT] =3D "tx-checksum-ipv6", > + [NETIF_F_HIGHDMA_BIT] =3D "highdma", > + [NETIF_F_FRAGLIST_BIT] =3D "tx-scatter-gather-fraglist", > + [NETIF_F_HW_VLAN_CTAG_TX_BIT] =3D "tx-vlan-hw-insert", > + > + [NETIF_F_HW_VLAN_CTAG_RX_BIT] =3D "rx-vlan-hw-parse", > + [NETIF_F_HW_VLAN_CTAG_FILTER_BIT] =3D "rx-vlan-filter", > + [NETIF_F_HW_VLAN_STAG_TX_BIT] =3D "tx-vlan-stag-hw-insert", > + [NETIF_F_HW_VLAN_STAG_RX_BIT] =3D "rx-vlan-stag-hw-parse", > + [NETIF_F_HW_VLAN_STAG_FILTER_BIT] =3D "rx-vlan-stag-filter", > + [NETIF_F_VLAN_CHALLENGED_BIT] =3D "vlan-challenged", > + [NETIF_F_GSO_BIT] =3D "tx-generic-segmentation", > + [NETIF_F_LLTX_BIT] =3D "tx-lockless", > + [NETIF_F_NETNS_LOCAL_BIT] =3D "netns-local", > + [NETIF_F_GRO_BIT] =3D "rx-gro", > + [NETIF_F_GRO_HW_BIT] =3D "rx-gro-hw", > + [NETIF_F_LRO_BIT] =3D "rx-lro", > + > + [NETIF_F_TSO_BIT] =3D "tx-tcp-segmentation", > + [NETIF_F_GSO_ROBUST_BIT] =3D "tx-gso-robust", > + [NETIF_F_TSO_ECN_BIT] =3D "tx-tcp-ecn-segmentation", > + [NETIF_F_TSO_MANGLEID_BIT] =3D "tx-tcp-mangleid-segmentation", > + [NETIF_F_TSO6_BIT] =3D "tx-tcp6-segmentation", > + [NETIF_F_FSO_BIT] =3D "tx-fcoe-segmentation", > + [NETIF_F_GSO_GRE_BIT] =3D "tx-gre-segmentation", > + [NETIF_F_GSO_GRE_CSUM_BIT] =3D "tx-gre-csum-segmentation", > + [NETIF_F_GSO_IPXIP4_BIT] =3D "tx-ipxip4-segmentation", > + [NETIF_F_GSO_IPXIP6_BIT] =3D "tx-ipxip6-segmentation", > + [NETIF_F_GSO_UDP_TUNNEL_BIT] =3D "tx-udp_tnl-segmentation", > + [NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT] =3D "tx-udp_tnl-csum-segmentation", > + [NETIF_F_GSO_PARTIAL_BIT] =3D "tx-gso-partial", > + [NETIF_F_GSO_TUNNEL_REMCSUM_BIT] =3D "tx-tunnel-remcsum-segmentation", > + [NETIF_F_GSO_SCTP_BIT] =3D "tx-sctp-segmentation", > + [NETIF_F_GSO_ESP_BIT] =3D "tx-esp-segmentation", > + [NETIF_F_GSO_UDP_L4_BIT] =3D "tx-udp-segmentation", > + [NETIF_F_GSO_FRAGLIST_BIT] =3D "tx-gso-list", > + > + [NETIF_F_FCOE_CRC_BIT] =3D "tx-checksum-fcoe-crc", > + [NETIF_F_SCTP_CRC_BIT] =3D "tx-checksum-sctp", > + [NETIF_F_FCOE_MTU_BIT] =3D "fcoe-mtu", > + [NETIF_F_NTUPLE_BIT] =3D "rx-ntuple-filter", > + [NETIF_F_RXHASH_BIT] =3D "rx-hashing", > + [NETIF_F_RXCSUM_BIT] =3D "rx-checksum", > + [NETIF_F_NOCACHE_COPY_BIT] =3D "tx-nocache-copy", > + [NETIF_F_LOOPBACK_BIT] =3D "loopback", > + [NETIF_F_RXFCS_BIT] =3D "rx-fcs", > + [NETIF_F_RXALL_BIT] =3D "rx-all", > + [NETIF_F_HW_L2FW_DOFFLOAD_BIT] =3D "l2-fwd-offload", > + [NETIF_F_HW_TC_BIT] =3D "hw-tc-offload", > + [NETIF_F_HW_ESP_BIT] =3D "esp-hw-offload", > + [NETIF_F_HW_ESP_TX_CSUM_BIT] =3D "esp-tx-csum-hw-offload", > + [NETIF_F_RX_UDP_TUNNEL_PORT_BIT] =3D "rx-udp_tunnel-port-offload", > + [NETIF_F_HW_TLS_RECORD_BIT] =3D "tls-hw-record", > + [NETIF_F_HW_TLS_TX_BIT] =3D "tls-hw-tx-offload", > + [NETIF_F_HW_TLS_RX_BIT] =3D "tls-hw-rx-offload", > + [NETIF_F_GRO_FRAGLIST_BIT] =3D "rx-gro-list", > + [NETIF_F_HW_MACSEC_BIT] =3D "macsec-hw-offload", > }; > =20 > const char > --=20 > 2.27.0 >=20 >=20 --4x2w6jrx7shqjepr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEWN3j3bieVmp26mKO538sG/LRdpUFAl7xKrwACgkQ538sG/LR dpWzDQgAteEmu3FwOKdJCn4Rm1bWRqhYTMmzqIehGYU4JZv8GS7DZbDJLX72HX6R SW+Z02s/kuxgWLQVCHI4K0FJ96EepCkmF4FsK02f5CtUvNXtzoz8rUzQKASR5Bh1 gkR34+M25Gf8lxY2002wrPd7EDRqSBA6dEM9A7XUM9gwHK6DCC3UpkVN5Jio1jrf qriLcfjhjLAthYf8dW7Sp2WpGhUWfpWVL3oP9s2zJ2gc7rDb4woEGaehsTOLOM+h eXzDC2XPqE6E8mbAsofsUuejrHRh47jIogUz/dTDfa4pnEO1lEcmP64hyTQ3fuI1 HE7WOjiObopMkrKV2b7+LyAwJLkGuw== =TprI -----END PGP SIGNATURE----- --4x2w6jrx7shqjepr--