RDMA/hns: fix spelling mistake: "attatch" -> "attach"
authorColin Ian King <colin.king@canonical.com>
Fri, 14 Feb 2020 00:33:38 +0000 (00:33 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 20 Feb 2020 17:11:23 +0000 (13:11 -0400)
There is a spelling mistake in a dev_err error message. Fix it.

Link: https://lore.kernel.org/r/20200214003338.6573-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_hw_v2.c

index aa9d1792e0cd561e68f2c48dce620bbe80499070..66c1cfeba7684547368d07e0338fb4c2d9e27138 100644 (file)
@@ -5783,7 +5783,7 @@ static int map_eq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_eq *eq,
                          page_shift);
        ret = hns_roce_mtr_attach(hr_dev, &eq->mtr, &buf_list, &region, 1);
        if (ret)
-               dev_err(hr_dev->dev, "mtr attatch error for eqe\n");
+               dev_err(hr_dev->dev, "mtr attach error for eqe\n");
 
        goto done;