OSDN Git Service

RDMA/hns: fix spelling mistake "reseved" -> "reserved"
authorColin Ian King <colin.king@canonical.com>
Thu, 27 Sep 2018 13:24:30 +0000 (14:24 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 27 Sep 2018 18:25:15 +0000 (12:25 -0600)
Trivial fix to spelling mistake in dev_err error message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c

index 081aa91..ca05810 100644 (file)
@@ -731,7 +731,7 @@ static int hns_roce_v1_rsv_lp_qp(struct hns_roce_dev *hr_dev)
        cq_init_attr.comp_vector        = 0;
        cq = hns_roce_ib_create_cq(&hr_dev->ib_dev, &cq_init_attr, NULL, NULL);
        if (IS_ERR(cq)) {
-               dev_err(dev, "Create cq for reseved loop qp failed!");
+               dev_err(dev, "Create cq for reserved loop qp failed!");
                return -ENOMEM;
        }
        free_mr->mr_free_cq = to_hr_cq(cq);
@@ -744,7 +744,7 @@ static int hns_roce_v1_rsv_lp_qp(struct hns_roce_dev *hr_dev)
 
        pd = hns_roce_alloc_pd(&hr_dev->ib_dev, NULL, NULL);
        if (IS_ERR(pd)) {
-               dev_err(dev, "Create pd for reseved loop qp failed!");
+               dev_err(dev, "Create pd for reserved loop qp failed!");
                ret = -ENOMEM;
                goto alloc_pd_failed;
        }