linux-kernel.vger.kernel.org archive mirror
 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>,
	Hui Tang <tanghui20@huawei.com>,
	Masahiro Yamada <masahiroy@kernel.org>
Subject: [PATCH 13/20] net: seeq: remove leading spaces before tabs
Date: Wed, 19 May 2021 13:30:46 +0800	[thread overview]
Message-ID: <1621402253-27200-14-git-send-email-tanghui20@huawei.com> (raw)
In-Reply-To: <1621402253-27200-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 '*.c' | xargs sed -r -i 's/^[ ]+\t/\t/'
	$ find . -name '*.h' | xargs sed -r -i 's/^[ ]+\t/\t/'

Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Hui Tang <tanghui20@huawei.com>
---
 drivers/net/ethernet/seeq/ether3.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/ethernet/seeq/ether3.c b/drivers/net/ethernet/seeq/ether3.c
index 65c9883..16a4cba 100644
--- a/drivers/net/ethernet/seeq/ether3.c
+++ b/drivers/net/ethernet/seeq/ether3.c
@@ -617,7 +617,7 @@ if (next_ptr < RX_START || next_ptr >= RX_END) {
  break;
 }
 		/*
- 		 * ignore our own packets...
+		 * ignore our own packets...
 	 	 */
 		if (!(*(unsigned long *)&dev->dev_addr[0] ^ *(unsigned long *)&addrs[2+6]) &&
 		    !(*(unsigned short *)&dev->dev_addr[4] ^ *(unsigned short *)&addrs[2+10])) {
@@ -672,7 +672,7 @@ if (next_ptr < RX_START || next_ptr >= RX_END) {
 	 */
 	if (!(ether3_inw(REG_STATUS) & STAT_RXON)) {
 		dev->stats.rx_dropped++;
-    		ether3_outw(next_ptr, REG_RECVPTR);
+		ether3_outw(next_ptr, REG_RECVPTR);
 		ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND);
 	}
 
@@ -690,11 +690,11 @@ static void ether3_tx(struct net_device *dev)
 	do {
 	    	unsigned long status;
 
-    		/*
+		/*
 	    	 * Read the packet header
-    		 */
+		 */
 	    	ether3_setbuffer(dev, buffer_read, tx_tail * 0x600);
-    		status = ether3_readlong(dev);
+		status = ether3_readlong(dev);
 
 		/*
 		 * Check to see if this packet has been transmitted
-- 
2.8.1


  parent reply	other threads:[~2021-05-19  5:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19  5:30 [PATCH 00/20] net: ethernet: remove leading spaces before tabs Hui Tang
2021-05-19  5:30 ` [PATCH 01/20] net: 3com: " Hui Tang
2021-05-19  5:30 ` [PATCH 02/20] net: alteon: " Hui Tang
2021-05-19  5:30 ` [PATCH 03/20] net: amd: " Hui Tang
2021-05-19  5:30 ` [PATCH 04/20] net: apple: " Hui Tang
2021-05-19  5:30 ` [PATCH 05/20] net: broadcom: " Hui Tang
2021-05-19  5:30 ` [PATCH 06/20] net: chelsio: " Hui Tang
2021-05-19  5:30 ` [PATCH 07/20] net: dec: " Hui Tang
2021-05-19  5:30 ` [PATCH 08/20] net: dlink: " Hui Tang
2021-05-19  5:30 ` [PATCH 09/20] net: ibm: " Hui Tang
2021-05-19  6:04   ` Lijun Pan
2021-05-19  5:30 ` [PATCH 10/20] net: marvell: " Hui Tang
2021-05-19  5:30 ` [PATCH 11/20] net: natsemi: " Hui Tang
2021-05-19  5:30 ` [PATCH 12/20] net: realtek: " Hui Tang
2021-05-19  5:30 ` Hui Tang [this message]
2021-05-19  5:30 ` [PATCH 14/20] net: sis: " Hui Tang
2021-05-19  5:30 ` [PATCH 15/20] net: smsc: " Hui Tang
2021-05-19  5:30 ` [PATCH 16/20] net: sun: " Hui Tang
2021-05-19  5:30 ` [PATCH 17/20] net: fealnx: " Hui Tang
2021-05-19  5:30 ` [PATCH 18/20] net: xircom: " Hui Tang
2021-05-19  5:30 ` [PATCH 19/20] net: 8390: " Hui Tang
2021-05-19  5:30 ` [PATCH 20/20] net: fujitsu: " Hui Tang
2021-05-19  6:06 ` [PATCH 00/20] net: ethernet: " Lijun Pan
2021-05-19 19:21   ` David Miller
2021-05-19 19:30 ` 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=1621402253-27200-14-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=masahiroy@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).