diff mbox series

IB/uverbs: fix the typo of optional

Message ID 20221006161456.2998-1-wangdeming@inspur.com (mailing list archive)
State Accepted
Headers show
Series IB/uverbs: fix the typo of optional | expand

Commit Message

Deming Wang Oct. 6, 2022, 4:14 p.m. UTC
Fix the typo of optional in the function of UVERBS_HANDLER.

Signed-off-by: Deming Wang <wangdeming@inspur.com>
---
 drivers/infiniband/core/uverbs_std_types_qp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Leon Romanovsky Oct. 19, 2022, 6:47 a.m. UTC | #1
On Thu, 6 Oct 2022 12:14:56 -0400, Deming Wang wrote:
> Fix the typo of optional in the function of UVERBS_HANDLER.
> 
> 

Applied, thanks!

[1/1] IB/uverbs: fix the typo of optional
      https://git.kernel.org/rdma/rdma/c/26312973bfbc1d

Best regards,
diff mbox series

Patch

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);