diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c index aa9d1792e0cd561e68f2c48dce620bbe80499070..66c1cfeba7684547368d07e0338fb4c2d9e27138 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, ®ion, 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;