Skip to contentSkip to conversation

RDMA/rxe: fix typos in comments

PATCH In review Purushothaman Ramalingam 3 participants 3 messages May 27 – May 29

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/rxe: fix typos in comments

Fix typos found by codespell in driver comments:

rxe.c: s/mangagement/management/
rxe_param.h: s/interations/iterations/
rxe_resp.c: s/recive/receive/

No functional change.

---
 drivers/infiniband/sw/rxe/rxe.c       | 2 +-
 drivers/infiniband/sw/rxe/rxe_param.h | 2 +-
 drivers/infiniband/sw/rxe/rxe_resp.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/infiniband/sw/rxe/rxe.c +1 -1
index b0714f9ab..af39209d0 100644
@@ -81,7 +81,7 @@ static void rxe_init_device_param(struct rxe_dev *rxe, struct net_device *ndev)
 	} else {
 		/*
 		 * This device does not have a HW address, but
-		 * connection mangagement requires a unique gid.
+		 * connection management requires a unique gid.
 		 */
 		eth_random_addr(rxe->raw_gid);
 	}
drivers/infiniband/sw/rxe/rxe_param.h +1 -1
index 767870568..1cc77c46b 100644
@@ -109,7 +109,7 @@ enum rxe_device_param {
 	RXE_INFLIGHT_SKBS_PER_QP_HIGH	= 64,
 	RXE_INFLIGHT_SKBS_PER_QP_LOW	= 16,
 
-	/* Max number of interations of each work item
+	/* Max number of iterations of each work item
 	 * before yielding the cpu to let other
 	 * work make progress
 	 */
drivers/infiniband/sw/rxe/rxe_resp.c +1 -1
index 9cb2f6fbf..d8d1b7f2f 100644
@@ -1505,7 +1505,7 @@ static int flush_recv_wqe(struct rxe_qp *qp, struct rxe_recv_wqe *wqe)
 	return err;
 }
 
-/* drain and optionally complete the recive queue
+/* drain and optionally complete the receive queue
  * if unable to complete a wqe stop completing and
  * just flush the remaining wqes
  */
Signature · 1 line
2.53.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Purushothaman Ramalingam

Fix typos found by codespell in driver comments:

rxe.c: s/mangagement/management/
rxe_param.h: s/interations/iterations/
rxe_resp.c: s/recive/receive/

Thanks a lot. I am fine with this.

Zhu Yanjun

Quoted 49 lines

No functional change.

---
  drivers/infiniband/sw/rxe/rxe.c       | 2 +-
  drivers/infiniband/sw/rxe/rxe_param.h | 2 +-
  drivers/infiniband/sw/rxe/rxe_resp.c  | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)
drivers/infiniband/sw/rxe/rxe.c +1 -1
index b0714f9ab..af39209d0 100644
@@ -81,7 +81,7 @@ static void rxe_init_device_param(struct rxe_dev *rxe, struct net_device *ndev)
  	} else {
  		/*
  		 * This device does not have a HW address, but
-		 * connection mangagement requires a unique gid.
+		 * connection management requires a unique gid.
  		 */
  		eth_random_addr(rxe->raw_gid);
  	}
drivers/infiniband/sw/rxe/rxe_param.h +1 -1
index 767870568..1cc77c46b 100644
@@ -109,7 +109,7 @@ enum rxe_device_param {
  	RXE_INFLIGHT_SKBS_PER_QP_HIGH	= 64,
  	RXE_INFLIGHT_SKBS_PER_QP_LOW	= 16,
 
-	/* Max number of interations of each work item
+	/* Max number of iterations of each work item
  	 * before yielding the cpu to let other
  	 * work make progress
  	 */
drivers/infiniband/sw/rxe/rxe_resp.c +1 -1
index 9cb2f6fbf..d8d1b7f2f 100644
@@ -1505,7 +1505,7 @@ static int flush_recv_wqe(struct rxe_qp *qp, struct rxe_recv_wqe *wqe)
  	return err;
  }
 
-/* drain and optionally complete the recive queue
+/* drain and optionally complete the receive queue
   * if unable to complete a wqe stop completing and
   * just flush the remaining wqes
   */
Signature · 2 lines
Best Regards,
Yanjun.Zhu
maintainer
#2 lore raw
In reply to Purushothaman Ramalingam
Quoted 8 lines · Purushothaman Ramalingam

Fix typos found by codespell in driver comments:

rxe.c: s/mangagement/management/
rxe_param.h: s/interations/iterations/
rxe_resp.c: s/recive/receive/

No functional change.

Quoted 7 lines
---
 drivers/infiniband/sw/rxe/rxe.c       | 2 +-
 drivers/infiniband/sw/rxe/rxe_param.h | 2 +-
 drivers/infiniband/sw/rxe/rxe_resp.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Applied thanks

Jason