linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: hippi: remove leading spaces before tabs
@ 2021-05-20  3:57 Hui Tang
  2021-05-27 15:02 ` Jes Sorensen
  0 siblings, 1 reply; 2+ messages in thread
From: Hui Tang @ 2021-05-20  3:57 UTC (permalink / raw)
  To: Jes Sorensen; +Cc: linux-hippi, linux-kernel, tanghui20

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, &regs->ConRetry);
 	writel(0x100, &regs->ConRetryTmr);
 	writel(0x500000, &regs->ConTmout);
- 	writel(0x60, &regs->IntrTmr);
+	writel(0x60, &regs->IntrTmr);
 	writel(0x500000, &regs->TxDataMvTimeout);
 	writel(0x200000, &regs->RxDataMvTimeout);
- 	writel(0x80, &regs->WriteDmaThresh);
- 	writel(0x80, &regs->ReadDmaThresh);
+	writel(0x80, &regs->WriteDmaThresh);
+	writel(0x80, &regs->ReadDmaThresh);
 
 	rrpriv->fw_running = 0;
 	wmb();
-- 
2.8.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] net: hippi: remove leading spaces before tabs
  2021-05-20  3:57 [PATCH net-next] net: hippi: remove leading spaces before tabs Hui Tang
@ 2021-05-27 15:02 ` Jes Sorensen
  0 siblings, 0 replies; 2+ messages in thread
From: Jes Sorensen @ 2021-05-27 15:02 UTC (permalink / raw)
  To: Hui Tang; +Cc: linux-kernel

On 5/19/21 11:57 PM, Hui Tang wrote:
> 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(-)

Acked-by: Jes Sorensen <jes@trained-monkey.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-27 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20  3:57 [PATCH net-next] net: hippi: remove leading spaces before tabs Hui Tang
2021-05-27 15:02 ` Jes Sorensen

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).