[PATCH][next] RDMA/hns: fix spelling mistake "attatch" -> "attach"

From: Colin King
Date: Wed Mar 04 2020 - 03:10:52 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/hns/hns_roce_qp.c b/drivers/infiniband/hw/hns/hns_roce_qp.c
index 2a7535534ea8..bddae625f447 100644
--- a/drivers/infiniband/hw/hns/hns_roce_qp.c
+++ b/drivers/infiniband/hw/hns/hns_roce_qp.c
@@ -812,7 +812,7 @@ static int map_wqe_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp,
ret = hns_roce_mtr_attach(hr_dev, &hr_qp->mtr, buf_list, hr_qp->regions,
region_count);
if (ret)
- ibdev_err(ibdev, "Failed to attatch WQE's mtr\n");
+ ibdev_err(ibdev, "Failed to attach WQE's mtr\n");

goto done;

--
2.25.0