linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/hfi1: fix repeated words in comments
@ 2022-09-08 13:18 wangjianli
  2022-09-20 11:09 ` Leon Romanovsky
  0 siblings, 1 reply; 3+ messages in thread
From: wangjianli @ 2022-09-08 13:18 UTC (permalink / raw)
  To: dennis.dalessandro, jgg, leon; +Cc: linux-rdma, linux-kernel, wangjianli

Delete the redundant word 'to'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 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


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

* Re: [PATCH] hw/hfi1: fix repeated words in comments
  2022-09-08 13:18 [PATCH] hw/hfi1: fix repeated words in comments wangjianli
@ 2022-09-20 11:09 ` Leon Romanovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2022-09-20 11:09 UTC (permalink / raw)
  To: wangjianli; +Cc: dennis.dalessandro, jgg, linux-rdma, linux-kernel

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

I squashed and applied both your commits.

Thanks

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

* [PATCH] hw/hfi1: fix repeated words in comments
@ 2022-09-08 13:19 wangjianli
  0 siblings, 0 replies; 3+ messages in thread
From: wangjianli @ 2022-09-08 13:19 UTC (permalink / raw)
  To: dennis.dalessandro, jgg, leon; +Cc: linux-rdma, linux-kernel, wangjianli

Delete the redundant word 'to'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 drivers/infiniband/hw/hfi1/firmware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/hfi1/firmware.c b/drivers/infiniband/hw/hfi1/firmware.c
index aa15a5cc7cf3..1d77514ebbee 100644
--- a/drivers/infiniband/hw/hfi1/firmware.c
+++ b/drivers/infiniband/hw/hfi1/firmware.c
@@ -1114,7 +1114,7 @@ static void turn_off_spicos(struct hfi1_devdata *dd, int flags)
  * Reset all of the fabric serdes for this HFI in preparation to take the
  * link to Polling.
  *
- * To do a reset, we need to write to to the serdes registers.  Unfortunately,
+ * To do a reset, we need to write to the serdes registers.  Unfortunately,
  * the fabric serdes download to the other HFI on the ASIC will have turned
  * off the firmware validation on this HFI.  This means we can't write to the
  * registers to reset the serdes.  Work around this by performing a complete
-- 
2.36.1


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

end of thread, other threads:[~2022-09-20 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 13:18 [PATCH] hw/hfi1: fix repeated words in comments wangjianli
2022-09-20 11:09 ` Leon Romanovsky
2022-09-08 13:19 wangjianli

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