All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hui Tang <tanghui20@huawei.com>
To: <davem@davemloft.net>, <kuba@kernel.org>
Cc: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<tanghui20@huawei.com>
Subject: [PATCH net-next 9/9] mii: remove leading spaces before tabs
Date: Thu, 20 May 2021 11:47:54 +0800	[thread overview]
Message-ID: <1621482474-26903-10-git-send-email-tanghui20@huawei.com> (raw)
In-Reply-To: <1621482474-26903-1-git-send-email-tanghui20@huawei.com>

There are a few leading spaces before tabs and remove it by running
the following commard:

    $ find . -name '*.[ch]' | xargs sed -r -i 's/^[ ]+\t/\t/'

Signed-off-by: Hui Tang <tanghui20@huawei.com>
---
 drivers/net/mii.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mii.c b/drivers/net/mii.c
index e71ebb9..779c3a9 100644
--- a/drivers/net/mii.c
+++ b/drivers/net/mii.c
@@ -81,7 +81,7 @@ int mii_ethtool_gset(struct mii_if_info *mii, struct ethtool_cmd *ecmd)
 	bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR);
 	bmsr = mii->mdio_read(dev, mii->phy_id, MII_BMSR);
 	if (mii->supports_gmii) {
- 		ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000);
+		ctrl1000 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000);
 		stat1000 = mii->mdio_read(dev, mii->phy_id, MII_STAT1000);
 	}
 
-- 
2.8.1


  parent reply	other threads:[~2021-05-20  3:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20  3:47 [PATCH net-next 0/9] net: remove leading spaces before tabs Hui Tang
2021-05-20  3:47 ` [PATCH net-next 1/9] net: wan: " Hui Tang
2021-05-20  3:47 ` [PATCH net-next 2/9] net: usb: " Hui Tang
2021-05-20  3:47 ` [PATCH net-next 3/9] net: slip: " Hui Tang
2021-05-20  3:47 ` [PATCH net-next 4/9] net: ppp: " Hui Tang
2021-05-20  3:47 ` [PATCH net-next 5/9] net: hamradio: " Hui Tang
2021-05-20  3:47 ` [PATCH net-next 6/9] net: fddi: skfp: " Hui Tang
2021-05-20  3:47 ` [PATCH net-next 7/9] net: appletalk: " Hui Tang
2021-05-20  3:47 ` [PATCH net-next 8/9] ifb: " Hui Tang
2021-05-20  3:47 ` Hui Tang [this message]
2021-05-20 22:20 ` [PATCH net-next 0/9] net: " patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1621482474-26903-10-git-send-email-tanghui20@huawei.com \
    --to=tanghui20@huawei.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.