projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9abf231
)
IB/uverbs: fix the typo of optional
author
Deming Wang
<wangdeming@inspur.com>
Thu, 6 Oct 2022 16:14:56 +0000
(12:14 -0400)
committer
Leon Romanovsky
<leon@kernel.org>
Wed, 19 Oct 2022 06:46:45 +0000
(09:46 +0300)
Fix the typo of optional in the function of UVERBS_HANDLER.
Signed-off-by: Deming Wang <wangdeming@inspur.com>
Link:
https://lore.kernel.org/r/20221006161456.2998-1-wangdeming@inspur.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/core/uverbs_std_types_qp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/uverbs_std_types_qp.c
b/drivers/infiniband/core/uverbs_std_types_qp.c
index
dd10754
..
7b4773f
100644
(file)
--- a/
drivers/infiniband/core/uverbs_std_types_qp.c
+++ b/
drivers/infiniband/core/uverbs_std_types_qp.c
@@
-163,7
+163,7
@@
static int UVERBS_HANDLER(UVERBS_METHOD_QP_CREATE)(
UVERBS_ATTR_CREATE_QP_SRQ_HANDLE))
return -EINVAL;
- /* send_cq is optinal */
+ /* send_cq is opti
o
nal */
if (cap.max_send_wr) {
send_cq = uverbs_attr_get_obj(attrs,
UVERBS_ATTR_CREATE_QP_SEND_CQ_HANDLE);