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

From: Colin King
Date: Thu Feb 13 2020 - 19:33:47 EST


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

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

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

diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
index 29a5ee0cf07e..b127c6fcbcd6 100644
--- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
+++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
@@ -5776,7 +5776,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;

--
2.25.0