linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] RDMA/hw/hfi1/pio_copy: Fix syntax errors in comments
@ 2022-06-05  9:05 Xiang wangx
  2022-06-06 11:57 ` Dennis Dalessandro
  0 siblings, 1 reply; 2+ messages in thread
From: Xiang wangx @ 2022-06-05  9:05 UTC (permalink / raw)
  To: dennis.dalessandro, jgg, leon, linux-rdma, linux-kernel; +Cc: Xiang wangx

Delete the redundant word 'and'.

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

diff --git a/drivers/infiniband/hw/hfi1/pio_copy.c b/drivers/infiniband/hw/hfi1/pio_copy.c
index 136f9a99e1e0..7690f996d5e3 100644
--- a/drivers/infiniband/hw/hfi1/pio_copy.c
+++ b/drivers/infiniband/hw/hfi1/pio_copy.c
@@ -172,7 +172,7 @@ static inline void jcopy(u8 *dest, const u8 *src, u32 n)
 }
 
 /*
- * Read nbytes from "from" and and place them in the low bytes
+ * Read nbytes from "from" and place them in the low bytes
  * of pbuf->carry.  Other bytes are left as-is.  Any previous
  * value in pbuf->carry is lost.
  *
-- 
2.36.1


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

* Re: [PATCH] RDMA/hw/hfi1/pio_copy: Fix syntax errors in comments
  2022-06-05  9:05 [PATCH] RDMA/hw/hfi1/pio_copy: Fix syntax errors in comments Xiang wangx
@ 2022-06-06 11:57 ` Dennis Dalessandro
  0 siblings, 0 replies; 2+ messages in thread
From: Dennis Dalessandro @ 2022-06-06 11:57 UTC (permalink / raw)
  To: Xiang wangx, jgg, leon, linux-rdma, linux-kernel

On 6/5/22 5:05 AM, Xiang wangx wrote:
> Delete the redundant word 'and'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
>  drivers/infiniband/hw/hfi1/pio_copy.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/infiniband/hw/hfi1/pio_copy.c b/drivers/infiniband/hw/hfi1/pio_copy.c
> index 136f9a99e1e0..7690f996d5e3 100644
> --- a/drivers/infiniband/hw/hfi1/pio_copy.c
> +++ b/drivers/infiniband/hw/hfi1/pio_copy.c
> @@ -172,7 +172,7 @@ static inline void jcopy(u8 *dest, const u8 *src, u32 n)
>  }
>  
>  /*
> - * Read nbytes from "from" and and place them in the low bytes
> + * Read nbytes from "from" and place them in the low bytes
>   * of pbuf->carry.  Other bytes are left as-is.  Any previous
>   * value in pbuf->carry is lost.
>   *

Don't know that I would call this a "syntax" error. Perhaps change subject to
say "Fix typo in comment"

-Denny

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

end of thread, other threads:[~2022-06-06 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05  9:05 [PATCH] RDMA/hw/hfi1/pio_copy: Fix syntax errors in comments Xiang wangx
2022-06-06 11:57 ` Dennis Dalessandro

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