RDMA/hns: fix spelling mistake: "attatch" -> "attach"

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>
This commit is contained in:
Colin Ian King 2020-02-14 00:33:38 +00:00 committed by Jason Gunthorpe
parent fb3063d319
commit 8d8d2b76ac
1 changed files with 1 additions and 1 deletions

View 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;