Commit 26312973 authored by Deming Wang's avatar Deming Wang Committed by Leon Romanovsky
Browse files

IB/uverbs: fix the typo of optional



Fix the typo of optional in the function of UVERBS_HANDLER.

Signed-off-by: default avatarDeming Wang <wangdeming@inspur.com>
Link: https://lore.kernel.org/r/20221006161456.2998-1-wangdeming@inspur.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 9abf2313
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);