RDMA/core: Fix a couple of obvious typos in comments
authorChuck Lever <chuck.lever@oracle.com>
Wed, 4 Oct 2023 15:29:41 +0000 (11:29 -0400)
committerLeon Romanovsky <leon@kernel.org>
Wed, 4 Oct 2023 18:55:44 +0000 (21:55 +0300)
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>
drivers/infiniband/core/rw.c
include/rdma/ib_verbs.h

index 8367974b7998b0b5e80a177323a5938b106d64d8..6354ddf2a274ce5287d36fbb6e821115baec9dab 100644 (file)
@@ -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.
         */
index f8f0d3a4fdecf861bf25c811659f9f9d883e2e27..fb1a2d6b196900d0b98ca454c4dbd2c97bfb9142 100644 (file)
@@ -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;