RDMA/hfi1: Fix doc for hfi1_free_ctxt

Message ID 20221216095225.685353-1-linmq006@gmail.com
State New
Headers
Series RDMA/hfi1: Fix doc for hfi1_free_ctxt |

Commit Message

Miaoqian Lin Dec. 16, 2022, 9:52 a.m. UTC
  Fix the typo of hfi1_create_ctxtdata.

Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
---
 drivers/infiniband/hw/hfi1/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Leon Romanovsky Dec. 27, 2022, 1:49 p.m. UTC | #1
On Fri, 16 Dec 2022 13:52:25 +0400, Miaoqian Lin wrote:
> Fix the typo of hfi1_create_ctxtdata.
> 
> 

Applied, thanks!

[1/1] RDMA/hfi1: Fix doc for hfi1_free_ctxt
      https://git.kernel.org/rdma/rdma/c/1b8ba6e41f11fc

Best regards,
  

Patch

diff --git a/drivers/infiniband/hw/hfi1/init.c b/drivers/infiniband/hw/hfi1/init.c
index 24c0f0d257fc..62b6c5020039 100644
--- a/drivers/infiniband/hw/hfi1/init.c
+++ b/drivers/infiniband/hw/hfi1/init.c
@@ -464,7 +464,7 @@  int hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, int numa,
  *
  * This wrapper is the free function that matches hfi1_create_ctxtdata().
  * When a context is done being used (kernel or user), this function is called
- * for the "final" put to match the kref init from hf1i_create_ctxtdata().
+ * for the "final" put to match the kref init from hfi1_create_ctxtdata().
  * Other users of the context do a get/put sequence to make sure that the
  * structure isn't removed while in use.
  */