summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns
diff options
context:
space:
mode:
authorLang Cheng <chenglang@huawei.com>2020-09-19 18:03:17 +0800
committerJason Gunthorpe <jgg@nvidia.com>2020-09-24 15:56:27 -0300
commitc19893fd9c606ffdf827a6feb0e4dbd35eae99ab (patch)
tree13bdaeb24f0405fc1451688d6f2783690cea2743 /drivers/infiniband/hw/hns
parent221109e64316e089b79e604adaec9057e0c4785a (diff)
downloadlinux-stable-c19893fd9c606ffdf827a6feb0e4dbd35eae99ab.tar.gz
linux-stable-c19893fd9c606ffdf827a6feb0e4dbd35eae99ab.tar.bz2
linux-stable-c19893fd9c606ffdf827a6feb0e4dbd35eae99ab.zip
RDMA/hns: Correct typo of hns_roce_create_cq()
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>
Diffstat (limited to 'drivers/infiniband/hw/hns')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_cq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_cq.c b/drivers/infiniband/hw/hns/hns_roce_cq.c
index fff3e624e261..809b22aa5056 100644
--- a/drivers/infiniband/hw/hns/hns_roce_cq.c
+++ b/drivers/infiniband/hw/hns/hns_roce_cq.c
@@ -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)