2022-09-08 13:25:34

by wangjianli

[permalink] [raw]
Subject: [PATCH] hw/hfi1: fix repeated words in comments

Delete the redundant word 'to'.

Signed-off-by: wangjianli <[email protected]>
---
drivers/infiniband/hw/hfi1/chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/hfi1/chip.c b/drivers/infiniband/hw/hfi1/chip.c
index f1245c94ae26..ebe970f76232 100644
--- a/drivers/infiniband/hw/hfi1/chip.c
+++ b/drivers/infiniband/hw/hfi1/chip.c
@@ -8753,7 +8753,7 @@ static int do_8051_command(struct hfi1_devdata *dd, u32 type, u64 in_data,

/*
* When writing a LCB CSR, out_data contains the full value to
- * to be written, while in_data contains the relative LCB
+ * be written, while in_data contains the relative LCB
* address in 7:0. Do the work here, rather than the caller,
* of distrubting the write data to where it needs to go:
*
--
2.36.1


2022-09-20 11:29:41

by Leon Romanovsky

[permalink] [raw]
Subject: Re: [PATCH] hw/hfi1: fix repeated words in comments

On Thu, Sep 08, 2022 at 09:18:24PM +0800, wangjianli wrote:
> Delete the redundant word 'to'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> drivers/infiniband/hw/hfi1/chip.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

I squashed and applied both your commits.

Thanks