summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDeming Wang <wangdeming@inspur.com>2022-10-06 12:14:56 -0400
committerLeon Romanovsky <leon@kernel.org>2022-10-19 09:46:45 +0300
commit26312973bfbc1db24b157797776ee2b5b48f5c50 (patch)
treeb07c054e8f2dea9fd4866120802c4d1875d6a3f5 /drivers
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
downloadlinux-26312973bfbc1db24b157797776ee2b5b48f5c50.tar.bz2
IB/uverbs: fix the typo of optional
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/core/uverbs_std_types_qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/uverbs_std_types_qp.c b/drivers/infiniband/core/uverbs_std_types_qp.c
index dd1075466f61..7b4773fa4bc0 100644
--- 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 optional */
if (cap.max_send_wr) {
send_cq = uverbs_attr_get_obj(attrs,
UVERBS_ATTR_CREATE_QP_SEND_CQ_HANDLE);