summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-10-04 18:29:41 +0300
committerLeon Romanovsky <leon@kernel.org>2023-10-04 21:55:44 +0300
commit0aa44595d61ca9e61239f321fec799518884feb3 (patch)
tree99c3a0746784ad07ccbcc3b4fe43f8fbe73daf58
parent16419098e8b301417173d8d2cbfa94a56ac9900b (diff)
downloadlinux-0aa44595d61ca9e61239f321fec799518884feb3.tar.xz
RDMA/core: Fix a couple of obvious typos in comments
Fix typos. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Link: https://lore.kernel.org/r/169643338101.8035.6826446669479247727.stgit@manet.1015granger.net Signed-off-by: Leon Romanovsky <leon@kernel.org>
-rw-r--r--drivers/infiniband/core/rw.c2
-rw-r--r--include/rdma/ib_verbs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/rw.c b/drivers/infiniband/core/rw.c
index 8367974b7998..6354ddf2a274 100644
--- a/drivers/infiniband/core/rw.c
+++ b/drivers/infiniband/core/rw.c
@@ -666,7 +666,7 @@ void rdma_rw_init_qp(struct ib_device *dev, struct ib_qp_init_attr *attr)
factor = 1;
/*
- * If the devices needs MRs to perform RDMA READ or WRITE operations,
+ * If the device needs MRs to perform RDMA READ or WRITE operations,
* we'll need two additional MRs for the registrations and the
* invalidation.
*/
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index f8f0d3a4fdec..fb1a2d6b1969 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1096,7 +1096,7 @@ struct ib_qp_cap {
/*
* Maximum number of rdma_rw_ctx structures in flight at a time.
- * ib_create_qp() will calculate the right amount of neededed WRs
+ * ib_create_qp() will calculate the right amount of needed WRs
* and MRs based on this.
*/
u32 max_rdma_ctxs;