IB/mlx5: Fix some spelling mistakes
authorTalat Batheesh <talatb@mellanox.com>
Thu, 17 Aug 2017 12:50:44 +0000 (15:50 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Aug 2017 20:27:11 +0000 (16:27 -0400)
Fix spelling mistakes in remarks
    "retrun"->"return"
    "Decalring"->"Declaring"

Signed-off-by: Talat Batheesh <talatb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mlx5/mad.c

index c155df465c4427b8b1b61915fe1a04b252ae14e0..2aa53f427685997a9e4c6ec776857536a3fca26a 100644 (file)
@@ -499,7 +499,7 @@ static void mlx5_ib_poll_sw_comp(struct mlx5_ib_cq *cq, int num_entries,
        struct mlx5_ib_qp *qp;
 
        *npolled = 0;
-       /* Find uncompleted WQEs belonging to that cq and retrun mmics ones */
+       /* Find uncompleted WQEs belonging to that cq and return mmics ones */
        list_for_each_entry(qp, &cq->list_send_qp, cq_send_list) {
                sw_send_comp(qp, num_entries, wc + *npolled, npolled);
                if (*npolled >= num_entries)
index 18cfe5bf0fa385251916a431052d0cd2d149a095..1003b0133a4926fb9b1bf5ebfa52dba33f49671b 100644 (file)
@@ -204,7 +204,7 @@ static int process_pma_cmd(struct ib_device *ibdev, u8 port_num,
        int err;
        void *out_cnt;
 
-       /* Decalring support of extended counters */
+       /* Declaring support of extended counters */
        if (in_mad->mad_hdr.attr_id == IB_PMA_CLASS_PORT_INFO) {
                struct ib_class_port_info cpi = {};