mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 06:37:59 +00:00
RDMA/hns: Correct typo of hns_roce_create_cq()
Change "initialze" to "initialize".
Fixes: 8f3e9f3ea0
("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>
This commit is contained in:
parent
221109e643
commit
c19893fd9c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
* 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
|
* 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.
|
* space.
|
||||||
*/
|
*/
|
||||||
if (!udata && hr_cq->tptr_addr)
|
if (!udata && hr_cq->tptr_addr)
|
||||||
|
|
Loading…
Add table
Reference in a new issue