Skip to content

Commit 0aa4459

Browse files
chuckleverrleon
authored andcommitted
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>
1 parent 1641909 commit 0aa4459

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/infiniband/core/rw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ void rdma_rw_init_qp(struct ib_device *dev, struct ib_qp_init_attr *attr)
666666
factor = 1;
667667

668668
/*
669-
* If the devices needs MRs to perform RDMA READ or WRITE operations,
669+
* If the device needs MRs to perform RDMA READ or WRITE operations,
670670
* we'll need two additional MRs for the registrations and the
671671
* invalidation.
672672
*/

include/rdma/ib_verbs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ struct ib_qp_cap {
10961096

10971097
/*
10981098
* Maximum number of rdma_rw_ctx structures in flight at a time.
1099-
* ib_create_qp() will calculate the right amount of neededed WRs
1099+
* ib_create_qp() will calculate the right amount of needed WRs
11001100
* and MRs based on this.
11011101
*/
11021102
u32 max_rdma_ctxs;

0 commit comments

Comments
 (0)