summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-02-14 00:33:38 +0000
committerJason Gunthorpe <jgg@mellanox.com>2020-02-20 13:11:23 -0400
commit8d8d2b76ac3545cf6c0e9c6aa61700db98d2496a (patch)
treed1999de95a46aef12731aa471bc0f6761537df97 /drivers
parentfb3063d31995cc4cf1d47a406bb61d6fb1b1d58d (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_hw_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
index aa9d1792e0cd..66c1cfeba768 100644
--- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
+++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
@@ -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;