summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-06-24 15:16:49 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-06-25 22:33:00 +0300
commit10dcc7448e9ea49488a38bca7551de1a9da06ad9 (patch)
treea5eb419b09a33524ba2cb8a4c68c874654737914 /drivers/infiniband/hw
parent34d65cd837d0c77fac0c0da632c616030b2927e3 (diff)
downloadlinux-10dcc7448e9ea49488a38bca7551de1a9da06ad9.tar.xz
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>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_qp.c b/drivers/infiniband/hw/hns/hns_roce_qp.c
index ee7e1fef31e7..4f693cded74e 100644
--- a/drivers/infiniband/hw/hns/hns_roce_qp.c
+++ b/drivers/infiniband/hw/hns/hns_roce_qp.c
@@ -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;
}