diff mbox series

RDMA/core: Fix a couple of obvious typos in comments

Message ID 169643338101.8035.6826446669479247727.stgit@manet.1015granger.net (mailing list archive)
State Accepted
Headers show
Series RDMA/core: Fix a couple of obvious typos in comments | expand

Commit Message

Chuck Lever Oct. 4, 2023, 3:29 p.m. UTC
From: Chuck Lever <chuck.lever@oracle.com>

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 drivers/infiniband/core/rw.c |    2 +-
 include/rdma/ib_verbs.h      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Leon Romanovsky Oct. 4, 2023, 6:56 p.m. UTC | #1
On Wed, 04 Oct 2023 11:29:41 -0400, Chuck Lever wrote:
> 


Applied, thanks!

[1/1] RDMA/core: Fix a couple of obvious typos in comments
      https://git.kernel.org/rdma/rdma/c/0aa44595d61ca9

Best regards,
diff mbox series

Patch

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 533ab92684d8..67cc6880b28b 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1094,7 +1094,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;