linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] RDMA: Fix comment typo
@ 2022-07-16  4:25 Jason Wang
  2022-07-21  7:20 ` Leon Romanovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Wang @ 2022-07-16  4:25 UTC (permalink / raw)
  To: leon; +Cc: jgg, linux-rdma, linux-kernel, Jason Wang

The double `the' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/infiniband/core/roce_gid_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/core/roce_gid_mgmt.c b/drivers/infiniband/core/roce_gid_mgmt.c
index 68197e576433..e958c43dd28f 100644
--- a/drivers/infiniband/core/roce_gid_mgmt.c
+++ b/drivers/infiniband/core/roce_gid_mgmt.c
@@ -250,7 +250,7 @@ static bool upper_device_filter(struct ib_device *ib_dev, u32 port,
 
 /**
  * is_upper_ndev_bond_master_filter - Check if a given netdevice
- * is bond master device of netdevice of the the RDMA device of port.
+ * is bond master device of netdevice of the RDMA device of port.
  * @ib_dev:		IB device to check
  * @port:		Port to consider for adding default GID
  * @rdma_ndev:		Pointer to rdma netdevice
-- 
2.35.1


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

* Re: [PATCH] RDMA: Fix comment typo
  2022-07-16  4:25 [PATCH] RDMA: Fix comment typo Jason Wang
@ 2022-07-21  7:20 ` Leon Romanovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2022-07-21  7:20 UTC (permalink / raw)
  To: Jason Wang; +Cc: jgg, linux-rdma, linux-kernel

On Sat, Jul 16, 2022 at 12:25:18PM +0800, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>  drivers/infiniband/core/roce_gid_mgmt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Thanks, applied.

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

* [PATCH] RDMA: Fix comment typo
@ 2022-07-22  2:18 Xin Gao
  0 siblings, 0 replies; 3+ messages in thread
From: Xin Gao @ 2022-07-22  2:18 UTC (permalink / raw)
  To: jgg, leon; +Cc: linux-rdma, linux-kernel, Xin Gao

The double `get' is duplicated in line 4607, remove one.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 include/rdma/ib_verbs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index b0bc9de5e9a8..c2966792b2fe 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -4603,7 +4603,7 @@ static inline enum rdma_ah_attr_type rdma_ah_find_type(struct ib_device *dev,
 
 /**
  * ib_lid_cpu16 - Return lid in 16bit CPU encoding.
- *     In the current implementation the only way to get
+ *     In the current implementation the only way to
  *     get the 32bit lid is from other sources for OPA.
  *     For IB, lids will always be 16bits so cast the
  *     value accordingly.
-- 
2.30.2


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

end of thread, other threads:[~2022-07-22  2:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-16  4:25 [PATCH] RDMA: Fix comment typo Jason Wang
2022-07-21  7:20 ` Leon Romanovsky
2022-07-22  2:18 Xin Gao

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