Fix the typo of hfi1_create_ctxtdata.
Signed-off-by: Miaoqian Lin <[email protected]>
---
drivers/infiniband/hw/hfi1/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
*/
--
2.25.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,
--
Leon Romanovsky <[email protected]>