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

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>
This commit is contained in:
Colin Ian King 2019-06-24 13:16:49 +01:00 committed by Jason Gunthorpe
parent 34d65cd837
commit 10dcc7448e
1 changed files with 1 additions and 1 deletions

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