mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] RDMA: fix typos and repeated words in comments
@ 2026-09-07  6:50 Hemanth Selam
  2026-09-07  6:50 ` [PATCH 1/2] RDMA: fix typos " Hemanth Selam
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:50 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky, Selvin Xavier, Kalesh AP,
	Potnuri Bharat Teja, Cheng Xu, Kai Shen, Dennis Dalessandro,
	Yishai Hadas, Michal Kalderon, Nelson Escobar, Satish Kharat,
	Sagi Grimberg, Max Gurtovoy, Bart Van Assche
  Cc: linux-rdma, linux-kernel, target-devel

This corrects 2 misspellings and repeated words in comments.  Each is a
separate patch so that any one of them can be dropped without touching
the rest.

Nothing outside comments changes.  Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.

The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt.  The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above.  Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.

Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean.  Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.

Hemanth Selam (2):
  RDMA: fix typos in comments
  RDMA: fix repeated words in comments

 drivers/infiniband/core/device.c              | 2 +-
 drivers/infiniband/core/iwcm.c                | 2 +-
 drivers/infiniband/core/uverbs_uapi.c         | 2 +-
 drivers/infiniband/core/verbs.c               | 2 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.c      | 2 +-
 drivers/infiniband/hw/cxgb4/cq.c              | 2 +-
 drivers/infiniband/hw/erdma/erdma_main.c      | 2 +-
 drivers/infiniband/hw/hfi1/affinity.c         | 2 +-
 drivers/infiniband/hw/hfi1/firmware.c         | 2 +-
 drivers/infiniband/hw/mlx4/mcg.c              | 4 ++--
 drivers/infiniband/hw/mlx5/odp.c              | 2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c   | 6 +++---
 drivers/infiniband/hw/qedr/verbs.c            | 2 +-
 drivers/infiniband/hw/usnic/usnic_abi.h       | 2 +-
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c  | 2 +-
 drivers/infiniband/hw/usnic/usnic_transport.h | 2 +-
 drivers/infiniband/sw/rdmavt/qp.c             | 2 +-
 drivers/infiniband/sw/rdmavt/srq.c            | 2 +-
 drivers/infiniband/ulp/ipoib/ipoib_vlan.c     | 2 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c      | 6 +++---
 drivers/infiniband/ulp/iser/iser_verbs.c      | 2 +-
 drivers/infiniband/ulp/srpt/ib_srpt.c         | 2 +-
 include/rdma/ib_verbs.h                       | 4 ++--
 include/rdma/uverbs_ioctl.h                   | 2 +-
 24 files changed, 30 insertions(+), 30 deletions(-)


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

* [PATCH 1/2] RDMA: fix typos in comments
  2026-09-07  6:50 [PATCH 0/2] RDMA: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-07  6:50 ` Hemanth Selam
  2026-09-07  8:27   ` Leon Romanovsky
  2026-09-07  6:50 ` [PATCH 2/2] RDMA: fix repeated words " Hemanth Selam
  2026-09-10 11:58 ` [PATCH 0/2] RDMA: fix typos and " Leon Romanovsky
  2 siblings, 1 reply; 7+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:50 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky, Selvin Xavier, Kalesh AP,
	Potnuri Bharat Teja, Cheng Xu, Kai Shen, Dennis Dalessandro,
	Yishai Hadas, Michal Kalderon, Nelson Escobar, Satish Kharat,
	Sagi Grimberg, Max Gurtovoy, Bart Van Assche
  Cc: linux-rdma, linux-kernel, target-devel

Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 drivers/infiniband/core/device.c              | 2 +-
 drivers/infiniband/core/uverbs_uapi.c         | 2 +-
 drivers/infiniband/core/verbs.c               | 2 +-
 drivers/infiniband/hw/bnxt_re/ib_verbs.c      | 2 +-
 drivers/infiniband/hw/cxgb4/cq.c              | 2 +-
 drivers/infiniband/hw/erdma/erdma_main.c      | 2 +-
 drivers/infiniband/hw/hfi1/affinity.c         | 2 +-
 drivers/infiniband/hw/hfi1/firmware.c         | 2 +-
 drivers/infiniband/hw/mlx4/mcg.c              | 4 ++--
 drivers/infiniband/hw/mlx5/odp.c              | 2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c   | 6 +++---
 drivers/infiniband/hw/qedr/verbs.c            | 2 +-
 drivers/infiniband/hw/usnic/usnic_abi.h       | 2 +-
 drivers/infiniband/hw/usnic/usnic_ib_verbs.c  | 2 +-
 drivers/infiniband/hw/usnic/usnic_transport.h | 2 +-
 drivers/infiniband/sw/rdmavt/qp.c             | 2 +-
 drivers/infiniband/sw/rdmavt/srq.c            | 2 +-
 drivers/infiniband/ulp/ipoib/ipoib_vlan.c     | 2 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c      | 6 +++---
 drivers/infiniband/ulp/iser/iser_verbs.c      | 2 +-
 include/rdma/ib_verbs.h                       | 4 ++--
 include/rdma/uverbs_ioctl.h                   | 2 +-
 22 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c
index 7a3ed5ecac00..99beb404dde0 100644
--- a/drivers/infiniband/core/device.c
+++ b/drivers/infiniband/core/device.c
@@ -893,7 +893,7 @@ static int setup_port_data(struct ib_device *device)
  * ib_port_immutable_read() - Read rdma port's immutable data
  * @dev: IB device
  * @port: port number whose immutable data to read. It starts with index 1 and
- *        valid upto including rdma_end_port().
+ *        valid up to including rdma_end_port().
  */
 const struct ib_port_immutable*
 ib_port_immutable_read(struct ib_device *dev, unsigned int port)
diff --git a/drivers/infiniband/core/uverbs_uapi.c b/drivers/infiniband/core/uverbs_uapi.c
index d150099b99d2..b67db3790f03 100644
--- a/drivers/infiniband/core/uverbs_uapi.c
+++ b/drivers/infiniband/core/uverbs_uapi.c
@@ -729,7 +729,7 @@ void uverbs_disassociate_api(struct uverbs_api *uapi)
 			 *
 			 * release_cleanup is the exception because
 			 * uverbs_uobject_fd_release() needs it. In this case
-			 * the module reference held by the fops will guarentee
+			 * the module reference held by the fops will guarantee
 			 * the type_class remains valid too.
 			 */
 			if (type_attrs &&
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c
index 04abc80c1327..11fd60d41f18 100644
--- a/drivers/infiniband/core/verbs.c
+++ b/drivers/infiniband/core/verbs.c
@@ -2358,7 +2358,7 @@ EXPORT_SYMBOL(ib_dereg_mr_user);
  * @max_num_sg:    maximum sg entries available for registration.
  *
  * Notes:
- * Memory registeration page/sg lists must not exceed max_num_sg.
+ * Memory registration page/sg lists must not exceed max_num_sg.
  * For mr_type IB_MR_TYPE_MEM_REG, the total length cannot exceed
  * max_num_sg * used_page_size.
  *
diff --git a/drivers/infiniband/hw/bnxt_re/ib_verbs.c b/drivers/infiniband/hw/bnxt_re/ib_verbs.c
index ccd2702db78b..ef08d42f377e 100644
--- a/drivers/infiniband/hw/bnxt_re/ib_verbs.c
+++ b/drivers/infiniband/hw/bnxt_re/ib_verbs.c
@@ -2903,7 +2903,7 @@ static int bnxt_re_build_qp1_send_v2(struct bnxt_re_qp *qp,
 	qp->send_psn &= BTH_PSN_MASK;
 	qp->qp1_hdr.bth.psn = cpu_to_be32(qp->send_psn);
 	/* DETH */
-	/* Use the priviledged Q_Key for QP1 */
+	/* Use the privileged Q_Key for QP1 */
 	qp->qp1_hdr.deth.qkey = cpu_to_be32(IB_QP1_QKEY);
 	qp->qp1_hdr.deth.source_qpn = IB_QP1;
 
diff --git a/drivers/infiniband/hw/cxgb4/cq.c b/drivers/infiniband/hw/cxgb4/cq.c
index d1517f2560b9..2a7be0a1f168 100644
--- a/drivers/infiniband/hw/cxgb4/cq.c
+++ b/drivers/infiniband/hw/cxgb4/cq.c
@@ -1182,7 +1182,7 @@ void c4iw_flush_srqidx(struct c4iw_qp *qhp, u32 srqidx)
 	struct c4iw_cq *rchp = to_c4iw_cq(qhp->ibqp.recv_cq);
 	unsigned long flag;
 
-	/* locking heirarchy: cq lock first, then qp lock. */
+	/* locking hierarchy: cq lock first, then qp lock. */
 	spin_lock_irqsave(&rchp->lock, flag);
 	spin_lock(&qhp->lock);
 
diff --git a/drivers/infiniband/hw/erdma/erdma_main.c b/drivers/infiniband/hw/erdma/erdma_main.c
index 7e87a815e853..a591d9891756 100644
--- a/drivers/infiniband/hw/erdma/erdma_main.c
+++ b/drivers/infiniband/hw/erdma/erdma_main.c
@@ -50,7 +50,7 @@ static int erdma_enum_and_get_netdev(struct erdma_dev *dev)
 	struct net_device *netdev;
 	int ret = -EPROBE_DEFER;
 
-	/* Already binded to a net_device, so we skip. */
+	/* Already bound to a net_device, so we skip. */
 	if (dev->netdev)
 		return 0;
 
diff --git a/drivers/infiniband/hw/hfi1/affinity.c b/drivers/infiniband/hw/hfi1/affinity.c
index 2b20907c9c12..d4bf75dcd102 100644
--- a/drivers/infiniband/hw/hfi1/affinity.c
+++ b/drivers/infiniband/hw/hfi1/affinity.c
@@ -386,7 +386,7 @@ static void _dev_comp_vect_mappings_destroy(struct hfi1_devdata *dd)
 
 /*
  * This function creates the table for looking up CPUs for completion vectors.
- * num_comp_vectors needs to have been initilized before calling this function.
+ * num_comp_vectors needs to have been initialized before calling this function.
  */
 static int _dev_comp_vect_mappings_create(struct hfi1_devdata *dd,
 					  struct hfi1_affinity_node *entry)
diff --git a/drivers/infiniband/hw/hfi1/firmware.c b/drivers/infiniband/hw/hfi1/firmware.c
index 3c228aeaaf81..a69de0a91238 100644
--- a/drivers/infiniband/hw/hfi1/firmware.c
+++ b/drivers/infiniband/hw/hfi1/firmware.c
@@ -77,7 +77,7 @@ struct css_header {
 /* size of platform configuration partition */
 #define MAX_PLATFORM_CONFIG_FILE_SIZE 4096
 
-/* size of file of plaform configuration encoded in format version 4 */
+/* size of file of platform configuration encoded in format version 4 */
 #define PLATFORM_CONFIG_FORMAT_4_FILE_SIZE 528
 
 /* the file itself */
diff --git a/drivers/infiniband/hw/mlx4/mcg.c b/drivers/infiniband/hw/mlx4/mcg.c
index dc7c0daaaba5..bba178ffe1b2 100644
--- a/drivers/infiniband/hw/mlx4/mcg.c
+++ b/drivers/infiniband/hw/mlx4/mcg.c
@@ -433,7 +433,7 @@ static u16 cmp_rec(struct ib_sa_mcmember_data *src,
 }
 
 /* release group, return 1 if this was last release and group is destroyed
- * timout work is canceled sync */
+ * timeout work is canceled sync */
 static int release_group(struct mcast_group *group, int from_timeout_handler)
 {
 	struct mlx4_ib_demux_ctx *ctx = group->demux;
@@ -694,7 +694,7 @@ static void mlx4_ib_mcg_work_handler(struct work_struct *work)
 			cur_join_state = group->rec.scope_join_state & 0xf;
 
 			if (method == IB_MGMT_METHOD_GET_RESP) {
-				/* successfull join */
+				/* successful join */
 				if (!cur_join_state && resp_join_state)
 					--rc;
 			} else if (!resp_join_state)
diff --git a/drivers/infiniband/hw/mlx5/odp.c b/drivers/infiniband/hw/mlx5/odp.c
index b8618610737a..8dcbb0e5ccd7 100644
--- a/drivers/infiniband/hw/mlx5/odp.c
+++ b/drivers/infiniband/hw/mlx5/odp.c
@@ -300,7 +300,7 @@ static bool mlx5_ib_invalidate_range(struct mmu_interval_notifier *mni,
 	/*
 	 * Iteration one - zap the HW's MTTs. The notifiers_count ensures that
 	 * while we are doing the invalidation, no page fault will attempt to
-	 * overwrite the same MTTs.  Concurent invalidations might race us,
+	 * overwrite the same MTTs.  Concurrent invalidations might race us,
 	 * but they will write 0s as well, so no difference in the end result.
 	 */
 	for (addr = start; addr < end; addr += BIT(umem_odp->page_shift)) {
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
index cfe3d19b73b3..97c2e18e67ad 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
@@ -1392,9 +1392,9 @@ int ocrdma_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
 	qp = get_ocrdma_qp(ibqp);
 	dev = get_ocrdma_dev(ibqp->device);
 
-	/* syncronize with multiple context trying to change, retrive qps */
+	/* synchronize with multiple context trying to change, retrieve qps */
 	mutex_lock(&dev->dev_lock);
-	/* syncronize with wqe, rqe posting and cqe processing contexts */
+	/* synchronize with wqe, rqe posting and cqe processing contexts */
 	spin_lock_irqsave(&qp->q_lock, flags);
 	old_qps = get_ibqp_state(qp->state);
 	if (attr_mask & IB_QP_STATE)
@@ -1599,7 +1599,7 @@ static void ocrdma_discard_cqes(struct ocrdma_qp *qp, struct ocrdma_cq *cq)
 	 */
 
 	cur_getp = cq->getp;
-	/* find upto when do we reap the cq. */
+	/* find up to when do we reap the cq. */
 	stop_getp = cur_getp;
 	do {
 		if (is_hw_sq_empty(qp) && (!qp->srq && is_hw_rq_empty(qp)))
diff --git a/drivers/infiniband/hw/qedr/verbs.c b/drivers/infiniband/hw/qedr/verbs.c
index 012a0ab98d6b..973d0fa7cdce 100644
--- a/drivers/infiniband/hw/qedr/verbs.c
+++ b/drivers/infiniband/hw/qedr/verbs.c
@@ -1075,7 +1075,7 @@ int qedr_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata)
 	/* We don't want the IRQ handler to handle a non-existing CQ so we
 	 * wait until all CNQ interrupts, if any, are received. This will always
 	 * happen and will always happen very fast. If not, then a serious error
-	 * has occured. That is why we can use a long delay.
+	 * has occurred. That is why we can use a long delay.
 	 * We spin for a short time so we don’t lose time on context switching
 	 * in case all the completions are handled in that span. Otherwise
 	 * we sleep for a while and check again. Since the CNQ may be
diff --git a/drivers/infiniband/hw/usnic/usnic_abi.h b/drivers/infiniband/hw/usnic/usnic_abi.h
index 86a82a4da0aa..a684bc54f3d4 100644
--- a/drivers/infiniband/hw/usnic/usnic_abi.h
+++ b/drivers/infiniband/hw/usnic/usnic_abi.h
@@ -72,7 +72,7 @@ struct usnic_ib_create_qp_resp {
 	u64				bar_bus_addr;
 	u32				bar_len;
 /*
- * WQ, RQ, CQ are explicitly specified bc exposing a generic resources inteface
+ * WQ, RQ, CQ are explicitly specified bc exposing a generic resources interface
  * expands the scope of ABI to many files.
  */
 	u32				wq_cnt;
diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
index 1a1647d0e345..ebba3027cf48 100644
--- a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
+++ b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c
@@ -181,7 +181,7 @@ find_free_vf_and_create_qp_grp(struct ib_qp *qp,
 	}
 
 	if (usnic_ib_share_vf) {
-		/* Try to find resouces on a used vf which is in pd */
+		/* Try to find resources on a used vf which is in pd */
 		dev_list = usnic_uiom_get_dev_list(pd->umem_pd);
 		if (IS_ERR(dev_list))
 			return PTR_ERR(dev_list);
diff --git a/drivers/infiniband/hw/usnic/usnic_transport.h b/drivers/infiniband/hw/usnic/usnic_transport.h
index 9a7a2d9755c0..c963c92218d3 100644
--- a/drivers/infiniband/hw/usnic/usnic_transport.h
+++ b/drivers/infiniband/hw/usnic/usnic_transport.h
@@ -50,7 +50,7 @@ int usnic_transport_sock_to_str(char *buf, int buf_sz,
 u16 usnic_transport_rsrv_port(enum usnic_transport_type type, u16 port_num);
 void usnic_transport_unrsrv_port(enum usnic_transport_type type, u16 port_num);
 /*
- * Do a fget on the socket refered to by sock_fd and returns the socket.
+ * Do a fget on the socket referred to by sock_fd and returns the socket.
  * Socket will not be destroyed before usnic_transport_put_socket has
  * been called.
  */
diff --git a/drivers/infiniband/sw/rdmavt/qp.c b/drivers/infiniband/sw/rdmavt/qp.c
index c40cce69e945..d8ee485c49a6 100644
--- a/drivers/infiniband/sw/rdmavt/qp.c
+++ b/drivers/infiniband/sw/rdmavt/qp.c
@@ -814,7 +814,7 @@ int rvt_alloc_rq(struct rvt_rq *rq, u32 size, int node,
  *
  * This function is called from both rvt_create_qp() and
  * rvt_reset_qp().   The difference is that the reset
- * patch the necessary locks to protect against concurent
+ * patch the necessary locks to protect against concurrent
  * access.
  */
 static void rvt_init_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp,
diff --git a/drivers/infiniband/sw/rdmavt/srq.c b/drivers/infiniband/sw/rdmavt/srq.c
index d022aa56c5bf..8122b46ed4ab 100644
--- a/drivers/infiniband/sw/rdmavt/srq.c
+++ b/drivers/infiniband/sw/rdmavt/srq.c
@@ -286,7 +286,7 @@ int rvt_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *attr)
 }
 
 /**
- * rvt_destroy_srq - destory an srq
+ * rvt_destroy_srq - destroy an srq
  * @ibsrq: srq object to destroy
  * @udata: user data for libibverbs.so
  */
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_vlan.c b/drivers/infiniband/ulp/ipoib/ipoib_vlan.c
index ba3b45152907..697cad0d063d 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_vlan.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_vlan.c
@@ -140,7 +140,7 @@ int __ipoib_vlan_add(struct ipoib_dev_priv *ppriv, struct ipoib_dev_priv *priv,
 		goto out_early;
 	}
 
-	/* RTNL childs don't need proprietary sysfs entries */
+	/* RTNL children don't need proprietary sysfs entries */
 	if (type == IPOIB_LEGACY_CHILD) {
 		if (ipoib_cm_add_mode_attr(ndev))
 			goto sysfs_failed;
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c
index 7df441685780..31e3a8ab6c48 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.c
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.c
@@ -498,7 +498,7 @@ static int iscsi_iser_conn_bind(struct iscsi_cls_session *cls_session,
  * iscsi_iser_conn_start() - start iscsi-iser connection
  * @cls_conn: iscsi class connection
  *
- * Notes: Here iser intialize (or re-initialize) stop_completion as
+ * Notes: Here iser initialize (or re-initialize) stop_completion as
  *        from this point iscsi must call conn_stop in session/connection
  *        teardown so iser transport must wait for it.
  */
@@ -593,7 +593,7 @@ static inline unsigned int iser_dif_prot_caps(int prot_caps)
  * @qdepth:         session command queue depth
  * @initial_cmdsn:  initiator command sequnce number
  *
- * Allocates and adds a scsi host, expose DIF supprot if
+ * Allocates and adds a scsi host, expose DIF support if
  * exists, and sets up an iscsi session.
  */
 static struct iscsi_cls_session *
@@ -866,7 +866,7 @@ static int iscsi_iser_ep_poll(struct iscsi_endpoint *ep, int timeout_ms)
  * @ep:    iscsi endpoint handle
  *
  * This routine is not blocked by iser and RDMA termination process
- * completion as we queue a deffered work for iser/RDMA destruction
+ * completion as we queue a deferred work for iser/RDMA destruction
  * and cleanup or actually call it immediately in case we didn't pass
  * iscsi conn bind/start stage, thus it is safe.
  */
diff --git a/drivers/infiniband/ulp/iser/iser_verbs.c b/drivers/infiniband/ulp/iser/iser_verbs.c
index 55fe68e5b837..ab2a27d23478 100644
--- a/drivers/infiniband/ulp/iser/iser_verbs.c
+++ b/drivers/infiniband/ulp/iser/iser_verbs.c
@@ -347,7 +347,7 @@ void iser_release_work(struct work_struct *work)
 
 	/* Wait for conn_stop to complete */
 	wait_for_completion(&iser_conn->stop_completion);
-	/* Wait for IB resouces cleanup to complete */
+	/* Wait for IB resources cleanup to complete */
 	wait_for_completion(&iser_conn->ib_completion);
 
 	mutex_lock(&iser_conn->state_mutex);
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index cb3b6163961b..d6eaa3fee66e 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -3532,7 +3532,7 @@ static inline bool rdma_cap_ib_cm(const struct ib_device *device, u32 port_num)
  * @port_num: Port number to check
  *
  * Similar to above, but specific to iWARP connections which have a different
- * managment protocol than InfiniBand.
+ * management protocol than InfiniBand.
  *
  * Return: true if the port supports an iWARP CM (this does not guarantee that
  * a CM is actually running however).
@@ -3577,7 +3577,7 @@ static inline bool rdma_cap_ib_sa(const struct ib_device *device, u32 port_num)
  * to this group.  And it should leave the group only after all queue pairs
  * attached to the group have been detached.
  *
- * Return: true if the port must undertake the additional adminstrative
+ * Return: true if the port must undertake the additional administrative
  * overhead of registering/unregistering with the SM and tracking of the
  * total number of queue pairs attached to the multicast group.
  */
diff --git a/include/rdma/uverbs_ioctl.h b/include/rdma/uverbs_ioctl.h
index 80f3ba6663d0..1aaaadb8daf6 100644
--- a/include/rdma/uverbs_ioctl.h
+++ b/include/rdma/uverbs_ioctl.h
@@ -1142,7 +1142,7 @@ static inline int ib_is_udata_in_empty(struct ib_udata *udata)
  * @_udata: The system calls ib_udata struct
  *
  * Used when there is no driver response data to return. Provides forward
- * compatability by zeroing any buffer the user may have provided.
+ * compatibility by zeroing any buffer the user may have provided.
  */
 static inline int ib_respond_empty_udata(struct ib_udata *udata)
 {

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

* [PATCH 2/2] RDMA: fix repeated words in comments
  2026-09-07  6:50 [PATCH 0/2] RDMA: fix typos and repeated words in comments Hemanth Selam
  2026-09-07  6:50 ` [PATCH 1/2] RDMA: fix typos " Hemanth Selam
@ 2026-09-07  6:50 ` Hemanth Selam
  2026-09-10 11:58 ` [PATCH 0/2] RDMA: fix typos and " Leon Romanovsky
  2 siblings, 0 replies; 7+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:50 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky, Selvin Xavier, Kalesh AP,
	Potnuri Bharat Teja, Cheng Xu, Kai Shen, Dennis Dalessandro,
	Yishai Hadas, Michal Kalderon, Nelson Escobar, Satish Kharat,
	Sagi Grimberg, Max Gurtovoy, Bart Van Assche
  Cc: linux-rdma, linux-kernel, target-devel

Drop words accidentally written twice, reported by checkpatch.pl as a
possible repeated word.  Only touches comments, no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 drivers/infiniband/core/iwcm.c        | 2 +-
 drivers/infiniband/ulp/srpt/ib_srpt.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/infiniband/core/iwcm.c b/drivers/infiniband/core/iwcm.c
index 0b7246ec559e..4b05867dad89 100644
--- a/drivers/infiniband/core/iwcm.c
+++ b/drivers/infiniband/core/iwcm.c
@@ -936,7 +936,7 @@ static void cm_disconnect_handler(struct iwcm_id_private *cm_id_priv,
 /*
  * CM_ID <-- IDLE
  *
- * If in the ESTBLISHED or CLOSING states, the QP will have have been
+ * If in the ESTBLISHED or CLOSING states, the QP will have been
  * moved by the provider to the ERR state. Disassociate the CM_ID from
  * the QP,  move to IDLE, and remove the 'connected' reference.
  *
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c
index 7197d95f2216..43c3ff1ad8e7 100644
--- a/drivers/infiniband/ulp/srpt/ib_srpt.c
+++ b/drivers/infiniband/ulp/srpt/ib_srpt.c
@@ -1888,7 +1888,7 @@ static int srpt_create_ch_ib(struct srpt_rdma_ch *ch)
 	 * We divide up our send queue size into half SEND WRs to send the
 	 * completions, and half R/W contexts to actually do the RDMA
 	 * READ/WRITE transfers.  Note that we need to allocate CQ slots for
-	 * both both, as RDMA contexts will also post completions for the
+	 * both, as RDMA contexts will also post completions for the
 	 * RDMA READ case.
 	 */
 	qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr);

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

* Re: [PATCH 1/2] RDMA: fix typos in comments
  2026-09-07  6:50 ` [PATCH 1/2] RDMA: fix typos " Hemanth Selam
@ 2026-09-07  8:27   ` Leon Romanovsky
  2026-09-07  9:31     ` Hemanth Selam
  0 siblings, 1 reply; 7+ messages in thread
From: Leon Romanovsky @ 2026-09-07  8:27 UTC (permalink / raw)
  To: Hemanth Selam
  Cc: Jason Gunthorpe, Selvin Xavier, Kalesh AP, Potnuri Bharat Teja,
	Cheng Xu, Kai Shen, Dennis Dalessandro, Yishai Hadas,
	Michal Kalderon, Nelson Escobar, Satish Kharat, Sagi Grimberg,
	Max Gurtovoy, Bart Van Assche, linux-rdma, linux-kernel,
	target-devel

On Mon, Sep 07, 2026 at 12:20:46PM +0530, Hemanth Selam wrote:
> Fix typos in comments, reported by scripts/checkpatch.pl using the
> misspelling list in scripts/spelling.txt.  Only touches comments, no code
> changes.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
>  drivers/infiniband/core/device.c              | 2 +-
>  drivers/infiniband/core/uverbs_uapi.c         | 2 +-
>  drivers/infiniband/core/verbs.c               | 2 +-
>  drivers/infiniband/hw/bnxt_re/ib_verbs.c      | 2 +-
>  drivers/infiniband/hw/cxgb4/cq.c              | 2 +-
>  drivers/infiniband/hw/erdma/erdma_main.c      | 2 +-
>  drivers/infiniband/hw/hfi1/affinity.c         | 2 +-
>  drivers/infiniband/hw/hfi1/firmware.c         | 2 +-
>  drivers/infiniband/hw/mlx4/mcg.c              | 4 ++--
>  drivers/infiniband/hw/mlx5/odp.c              | 2 +-
>  drivers/infiniband/hw/ocrdma/ocrdma_verbs.c   | 6 +++---
>  drivers/infiniband/hw/qedr/verbs.c            | 2 +-
>  drivers/infiniband/hw/usnic/usnic_abi.h       | 2 +-
>  drivers/infiniband/hw/usnic/usnic_ib_verbs.c  | 2 +-
>  drivers/infiniband/hw/usnic/usnic_transport.h | 2 +-
>  drivers/infiniband/sw/rdmavt/qp.c             | 2 +-
>  drivers/infiniband/sw/rdmavt/srq.c            | 2 +-
>  drivers/infiniband/ulp/ipoib/ipoib_vlan.c     | 2 +-
>  drivers/infiniband/ulp/iser/iscsi_iser.c      | 6 +++---
>  drivers/infiniband/ulp/iser/iser_verbs.c      | 2 +-
>  include/rdma/ib_verbs.h                       | 4 ++--
>  include/rdma/uverbs_ioctl.h                   | 2 +-
>  22 files changed, 28 insertions(+), 28 deletions(-)

<...>

>  			 *
>  			 * release_cleanup is the exception because
>  			 * uverbs_uobject_fd_release() needs it. In this case
> -			 * the module reference held by the fops will guarentee
> +			 * the module reference held by the fops will guarantee
>  			 * the type_class remains valid too.
>  			 */

And what has changed here?

Thanks

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

* Re: [PATCH 1/2] RDMA: fix typos in comments
  2026-09-07  8:27   ` Leon Romanovsky
@ 2026-09-07  9:31     ` Hemanth Selam
  2026-09-07 11:24       ` Leon Romanovsky
  0 siblings, 1 reply; 7+ messages in thread
From: Hemanth Selam @ 2026-09-07  9:31 UTC (permalink / raw)
  To: Leon Romanovsky
  Cc: Jason Gunthorpe, Selvin Xavier, Kalesh AP, Potnuri Bharat Teja,
	Cheng Xu, Kai Shen, Dennis Dalessandro, Yishai Hadas,
	Michal Kalderon, Nelson Escobar, Satish Kharat, Sagi Grimberg,
	Max Gurtovoy, Bart Van Assche, linux-rdma, linux-kernel,
	target-devel

On Mon, Sep 07, 2026 at 11:27:28AM +0300, Leon Romanovsky wrote:
> >  			 * release_cleanup is the exception because
> >  			 * uverbs_uobject_fd_release() needs it. In this case
> > -			 * the module reference held by the fops will guarentee
> > +			 * the module reference held by the fops will guarantee
> >  			 * the type_class remains valid too.
> >  			 */
>
> And what has changed here?

Sorry, that one is easy to miss: it is a single letter in the middle of
the word.

  guarentee
      ^
  guarantee
      ^

The fifth character goes from 'e' to 'a'.  "guarentee" is a misspelling
of "guarantee", and it is listed in scripts/spelling.txt, which is how
checkpatch.pl flagged it.

Hemanth

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

* Re: [PATCH 1/2] RDMA: fix typos in comments
  2026-09-07  9:31     ` Hemanth Selam
@ 2026-09-07 11:24       ` Leon Romanovsky
  0 siblings, 0 replies; 7+ messages in thread
From: Leon Romanovsky @ 2026-09-07 11:24 UTC (permalink / raw)
  To: Hemanth Selam
  Cc: Jason Gunthorpe, Selvin Xavier, Kalesh AP, Potnuri Bharat Teja,
	Cheng Xu, Kai Shen, Dennis Dalessandro, Yishai Hadas,
	Michal Kalderon, Nelson Escobar, Satish Kharat, Sagi Grimberg,
	Max Gurtovoy, Bart Van Assche, linux-rdma, linux-kernel,
	target-devel

On Mon, Sep 07, 2026 at 03:01:09PM +0530, Hemanth Selam wrote:
> On Mon, Sep 07, 2026 at 11:27:28AM +0300, Leon Romanovsky wrote:
> > >  			 * release_cleanup is the exception because
> > >  			 * uverbs_uobject_fd_release() needs it. In this case
> > > -			 * the module reference held by the fops will guarentee
> > > +			 * the module reference held by the fops will guarantee
> > >  			 * the type_class remains valid too.
> > >  			 */
> >
> > And what has changed here?
> 
> Sorry, that one is easy to miss: it is a single letter in the middle of
> the word.
> 
>   guarentee
>       ^
>   guarantee
>       ^
> 
> The fifth character goes from 'e' to 'a'.  "guarentee" is a misspelling
> of "guarantee", and it is listed in scripts/spelling.txt, which is how
> checkpatch.pl flagged it.

Ahh, thanks

> 
> Hemanth

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

* Re: [PATCH 0/2] RDMA: fix typos and repeated words in comments
  2026-09-07  6:50 [PATCH 0/2] RDMA: fix typos and repeated words in comments Hemanth Selam
  2026-09-07  6:50 ` [PATCH 1/2] RDMA: fix typos " Hemanth Selam
  2026-09-07  6:50 ` [PATCH 2/2] RDMA: fix repeated words " Hemanth Selam
@ 2026-09-10 11:58 ` Leon Romanovsky
  2 siblings, 0 replies; 7+ messages in thread
From: Leon Romanovsky @ 2026-09-10 11:58 UTC (permalink / raw)
  To: Jason Gunthorpe, Selvin Xavier, Kalesh AP, Potnuri Bharat Teja,
	Cheng Xu, Kai Shen, Dennis Dalessandro, Yishai Hadas,
	Michal Kalderon, Nelson Escobar, Satish Kharat, Sagi Grimberg,
	Max Gurtovoy, Bart Van Assche, Hemanth Selam
  Cc: linux-rdma, linux-kernel, target-devel


On Mon, 07 Sep 2026 12:20:45 +0530, Hemanth Selam wrote:
> This corrects 2 misspellings and repeated words in comments.  Each is a
> separate patch so that any one of them can be dropped without touching
> the rest.
> 
> Nothing outside comments changes.  Every touched C file was checked by
> dropping its comments, replacing each string literal with a placeholder
> and collapsing whitespace; what remained was identical before and after,
> so the compiled code cannot differ.
> 
> [...]

Applied, thanks!

[1/2] RDMA: fix typos in comments
      https://git.kernel.org/rdma/rdma/c/ea42dc09368112
[2/2] RDMA: fix repeated words in comments
      https://git.kernel.org/rdma/rdma/c/3e1de7f906ab16

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  6:50 [PATCH 0/2] RDMA: fix typos and repeated words in comments Hemanth Selam
2026-09-07  6:50 ` [PATCH 1/2] RDMA: fix typos " Hemanth Selam
2026-09-07  8:27   ` Leon Romanovsky
2026-09-07  9:31     ` Hemanth Selam
2026-09-07 11:24       ` Leon Romanovsky
2026-09-07  6:50 ` [PATCH 2/2] RDMA: fix repeated words " Hemanth Selam
2026-09-10 11:58 ` [PATCH 0/2] RDMA: fix typos and " Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®