[PATCH v2] RDMA/hw/hfi1/pio_copy: Fix typo in comment

Xiang wangx posted 1 patch 3 years, 10 months ago
drivers/infiniband/hw/hfi1/pio_copy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] RDMA/hw/hfi1/pio_copy: Fix typo in comment
Posted by Xiang wangx 3 years, 10 months ago
Delete the redundant word 'and'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---

Changes since v1
*Change commit log

 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
Re: [PATCH v2] RDMA/hw/hfi1/pio_copy: Fix typo in comment
Posted by Leon Romanovsky 3 years, 10 months ago
On Mon, Jun 06, 2022 at 08:34:19PM +0800, Xiang wangx wrote:
> Delete the redundant word 'and'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
> 
> Changes since v1
> *Change commit log
> 
>  drivers/infiniband/hw/hfi1/pio_copy.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Thanks, fixed the title and applied to rdma-next.