Skip to contentSkip to conversation

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

PATCH Applied Colin King 2 participants 2 messages Feb 14, 2020 – Feb 20, 2020

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

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

From: Colin Ian King <[email protected]>

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

---
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +1 -1
index 29a5ee0cf07e..b127c6fcbcd6 100644
@@ -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;
 
Signature · 1 line
2.25.0