RDMA/hns: fix spelling mistake "attatch" -> "attach"
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Mar 2020 08:10:45 +0000 (09:10 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 4 Mar 2020 18:36:13 +0000 (14:36 -0400)
There is a spelling mistake in an error message. Fix it.

Link: https://lore.kernel.org/r/20200304081045.81164-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_qp.c

index 7bec0ce..5a28d62 100644 (file)
@@ -812,7 +812,7 @@ static int map_wqe_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp,
        ret = hns_roce_mtr_attach(hr_dev, &hr_qp->mtr, buf_list, hr_qp->regions,
                                  region_count);
        if (ret)
-               ibdev_err(ibdev, "Failed to attatch WQE's mtr\n");
+               ibdev_err(ibdev, "Failed to attach WQE's mtr\n");
 
        goto done;