Commit faa9141c authored by Talat Batheesh's avatar Talat Batheesh Committed by Doug Ledford

IB/mlx4: Fix some spelling mistakes

Fix spelling mistakes in remarks
    "retrun"->"return"
    "cancell"->"cancel"
Signed-off-by: default avatarTalat Batheesh <talatb@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 62324895
...@@ -781,7 +781,7 @@ void mlx4_ib_init_alias_guid_work(struct mlx4_ib_dev *dev, int port) ...@@ -781,7 +781,7 @@ void mlx4_ib_init_alias_guid_work(struct mlx4_ib_dev *dev, int port)
spin_lock_irqsave(&dev->sriov.going_down_lock, flags); spin_lock_irqsave(&dev->sriov.going_down_lock, flags);
spin_lock_irqsave(&dev->sriov.alias_guid.ag_work_lock, flags1); spin_lock_irqsave(&dev->sriov.alias_guid.ag_work_lock, flags1);
if (!dev->sriov.is_going_down) { if (!dev->sriov.is_going_down) {
/* If there is pending one should cancell then run, otherwise /* If there is pending one should cancel then run, otherwise
* won't run till previous one is ended as same work * won't run till previous one is ended as same work
* struct is used. * struct is used.
*/ */
......
...@@ -637,7 +637,7 @@ static void mlx4_ib_poll_sw_comp(struct mlx4_ib_cq *cq, int num_entries, ...@@ -637,7 +637,7 @@ static void mlx4_ib_poll_sw_comp(struct mlx4_ib_cq *cq, int num_entries,
struct mlx4_ib_qp *qp; struct mlx4_ib_qp *qp;
*npolled = 0; *npolled = 0;
/* Find uncompleted WQEs belonging to that cq and retrun /* Find uncompleted WQEs belonging to that cq and return
* simulated FLUSH_ERR completions * simulated FLUSH_ERR completions
*/ */
list_for_each_entry(qp, &cq->send_qp_list, cq_send_list) { list_for_each_entry(qp, &cq->send_qp_list, cq_send_list) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment