RDMA/hfi1: Fix typo in comments
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 29 Jul 2021 08:23:46 +0000 (16:23 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 30 Jul 2021 13:06:08 +0000 (10:06 -0300)
Remove the repeated word 'the' from comments

Link: https://lore.kernel.org/r/20210729082346.1882-1-caihuoqing@baidu.com
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/ruc.c
drivers/infiniband/hw/hfi1/sdma.c
drivers/infiniband/hw/hfi1/tid_rdma.c

index 50ffb824462550b225c292abb0a0bb57aa2c9b98..b77938639c4b7ce66da7a95e491e8626ec6c2587 100644 (file)
@@ -14414,7 +14414,7 @@ static void init_qos(struct hfi1_devdata *dd, struct rsm_map_table *rmt)
        if (rmt->used + rmt_entries >= NUM_MAP_ENTRIES)
                goto bail;
 
-       /* add qos entries to the the RSM map table */
+       /* add qos entries to the RSM map table */
        for (i = 0, ctxt = FIRST_KERNEL_KCTXT; i < num_vls; i++) {
                unsigned tctxt;
 
@@ -14893,7 +14893,7 @@ int hfi1_clear_ctxt_pkey(struct hfi1_devdata *dd, struct hfi1_ctxtdata *ctxt)
 }
 
 /*
- * Start doing the clean up the the chip. Our clean up happens in multiple
+ * Start doing the clean up the chip. Our clean up happens in multiple
  * stages and this is just the first.
  */
 void hfi1_start_cleanup(struct hfi1_devdata *dd)
index 6cf03d16a495e6be966e958e6e6bf2b00baddc13..9fbf4bb48161980045faa811819270d4eebc127b 100644 (file)
@@ -2602,7 +2602,7 @@ static inline bool hfi1_get_hdr_type(u32 lid, struct rdma_ah_attr *attr)
                        HFI1_PKT_TYPE_16B : HFI1_PKT_TYPE_9B;
 
        /*
-        * Return a 16B header type if either the the destination
+        * Return a 16B header type if either the destination
         * or source lid is extended.
         */
        if (hfi1_get_packet_type(rdma_ah_get_dlid(attr)) == HFI1_PKT_TYPE_16B)
index c3fa1814c6a86d52ff1b1e889005ba49855475de..8cc65a7182f39366a2929a4fdbca28177f28009b 100644 (file)
@@ -459,7 +459,7 @@ void hfi1_make_ruc_header(struct rvt_qp *qp, struct ib_other_headers *ohdr,
  * send engine
  * @qp: a pointer to QP
  * @ps: a pointer to a structure with commonly lookup values for
- *      the the send engine progress
+ *      the send engine progress
  * @tid: true if it is the tid leg
  *
  * This routine checks if the time slice for the QP has expired
index eb15c310d63d8d7cebfd17492d67e49d2b869e4c..f5bd40152cb7f91ea690bf7dc89af3dedbb25f1f 100644 (file)
@@ -1860,7 +1860,7 @@ retry:
 
        /*
         * The SDMA idle interrupt is not guaranteed to be ordered with respect
-        * to updates to the the dma_head location in host memory. The head
+        * to updates to the dma_head location in host memory. The head
         * value read might not be fully up to date. If there are pending
         * descriptors and the SDMA idle interrupt fired then read from the
         * CSR SDMA head instead to get the latest value from the hardware.
index 233ea48b72c80c0cf8eb8329db451d4916af9ad7..2a7abf7a1f7fb9da3c672b6f860dfb42158600e3 100644 (file)
@@ -605,7 +605,7 @@ static void __trigger_tid_waiter(struct rvt_qp *qp)
  * to this call via first_qp().
  *
  * If the qp trigger was already scheduled (!rval)
- * the the reference is dropped, otherwise the resume
+ * the reference is dropped, otherwise the resume
  * or the destroy cancel will dispatch the reference.
  */
 static void tid_rdma_schedule_tid_wakeup(struct rvt_qp *qp)
@@ -5174,7 +5174,7 @@ bail_no_tx:
        priv->s_flags &= ~RVT_S_BUSY;
        /*
         * If we didn't get a txreq, the QP will be woken up later to try
-        * again, set the flags to the the wake up which work item to wake
+        * again, set the flags to the wake up which work item to wake
         * up.
         * (A better algorithm should be found to do this and generalize the
         * sleep/wakeup flags.)