Skip to content
/ linux Public

Commit 91cb7ff

Browse files
chuckleverSasha Levin
authored andcommitted
RDMA/core: Fix a couple of obvious typos in comments
[ Upstream commit 0aa4459 ] 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> Stable-dep-of: afcae7d ("RDMA/core: add rdma_rw_max_sge() helper for SQ sizing") Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 756c93d commit 91cb7ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)