From: Hui Tang <tanghui20@huawei.com>
To: Jes Sorensen <jes@trained-monkey.org>
Cc: <linux-hippi@sunsite.dk>, <linux-kernel@vger.kernel.org>,
<tanghui20@huawei.com>
Subject: [PATCH net-next] net: hippi: remove leading spaces before tabs
Date: Thu, 20 May 2021 11:57:27 +0800 [thread overview]
Message-ID: <1621483047-32583-1-git-send-email-tanghui20@huawei.com> (raw)
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/hippi/rrunner.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/hippi/rrunner.c b/drivers/net/hippi/rrunner.c
index 2201038..ab6ec90 100644
--- a/drivers/net/hippi/rrunner.c
+++ b/drivers/net/hippi/rrunner.c
@@ -623,11 +623,11 @@ static int rr_init1(struct net_device *dev)
writel(0x5000, ®s->ConRetry);
writel(0x100, ®s->ConRetryTmr);
writel(0x500000, ®s->ConTmout);
- writel(0x60, ®s->IntrTmr);
+ writel(0x60, ®s->IntrTmr);
writel(0x500000, ®s->TxDataMvTimeout);
writel(0x200000, ®s->RxDataMvTimeout);
- writel(0x80, ®s->WriteDmaThresh);
- writel(0x80, ®s->ReadDmaThresh);
+ writel(0x80, ®s->WriteDmaThresh);
+ writel(0x80, ®s->ReadDmaThresh);
rrpriv->fw_running = 0;
wmb();
--
2.8.1
next reply other threads:[~2021-05-20 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 3:57 Hui Tang [this message]
2021-05-27 15:02 ` [PATCH net-next] net: hippi: remove leading spaces before tabs Jes Sorensen
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=1621483047-32583-1-git-send-email-tanghui20@huawei.com \
--to=tanghui20@huawei.com \
--cc=jes@trained-monkey.org \
--cc=linux-hippi@sunsite.dk \
--cc=linux-kernel@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.