OSDN Git Service

RDMA/hns: Correct typo of hns_roce_create_cq()
authorLang Cheng <chenglang@huawei.com>
Sat, 19 Sep 2020 10:03:17 +0000 (18:03 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Sep 2020 18:56:27 +0000 (15:56 -0300)
Change "initialze" to "initialize".

Fixes: 8f3e9f3ea087 ("IB/hns: Add code for refreshing CQ CI using TPTR")
Link: https://lore.kernel.org/r/1600509802-44382-4-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_cq.c

index fff3e62..809b22a 100644 (file)
@@ -305,7 +305,7 @@ int hns_roce_create_cq(struct ib_cq *ib_cq, const struct ib_cq_init_attr *attr,
        /*
         * For the QP created by kernel space, tptr value should be initialized
         * to zero; For the QP created by user space, it will cause synchronous
-        * problems if tptr is set to zero here, so we initialze it in user
+        * problems if tptr is set to zero here, so we initialize it in user
         * space.
         */
        if (!udata && hr_cq->tptr_addr)