Skip to contentSkip to conversation

IB/uverbs: fix the typo of optional

PATCH Applied Deming Wang 2 participants 2 messages Oct 7, 2022 – Oct 19, 2022 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/uverbs: fix the typo of optional

Fix the typo of optional in the function of UVERBS_HANDLER.

---
 drivers/infiniband/core/uverbs_std_types_qp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/core/uverbs_std_types_qp.c +1 -1
index dd1075466f61..7b4773fa4bc0 100644
@@ -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);
Signature · 1 line
2.27.0