RDMA/hns: fix spelling mistake "attatch" -> "attach"
authorColin Ian King <colin.king@canonical.com>
Mon, 24 Jun 2019 12:16:49 +0000 (13:16 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 25 Jun 2019 19:33:00 +0000 (16:33 -0300)
There is a spelling mistake in an dev_err message. Fix it.

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 ee7e1fe..4f693cd 100644 (file)
@@ -853,7 +853,7 @@ static int hns_roce_create_qp_common(struct hns_roce_dev *hr_dev,
        ret = hns_roce_mtr_attach(hr_dev, &hr_qp->mtr, buf_list,
                                  hr_qp->regions, hr_qp->region_cnt);
        if (ret) {
-               dev_err(dev, "mtr attatch error for create qp\n");
+               dev_err(dev, "mtr attach error for create qp\n");
                goto err_mtr;
        }