From: Miaoqian Lin Date: Fri, 16 Dec 2022 09:52:25 +0000 (+0400) Subject: RDMA/hfi1: Fix doc for hfi1_free_ctxt X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1b8ba6e41f11fc6ad4e561e0de35075256ec207c;p=linux.git RDMA/hfi1: Fix doc for hfi1_free_ctxt Fix the typo of hfi1_create_ctxtdata. Signed-off-by: Miaoqian Lin Link: https://lore.kernel.org/r/20221216095225.685353-1-linmq006@gmail.com Signed-off-by: Leon Romanovsky --- diff --git a/drivers/infiniband/hw/hfi1/init.c b/drivers/infiniband/hw/hfi1/init.c index 24c0f0d257fc9..62b6c50200395 100644 --- a/drivers/infiniband/hw/hfi1/init.c +++ b/drivers/infiniband/hw/hfi1/init.c @@ -464,7 +464,7 @@ bail: * * 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. */