diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-06-02 11:58:27 +0800 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2022-07-12 09:09:21 +0300 |
commit | 18b67315388cb528479050839c69d245164f6183 (patch) | |
tree | d9d317cfbef8ca4ca7333868e08426164b601c6f /drivers/misc | |
parent | 858e6d4085b1c036e1c4ba5c6e2aedd0c0591464 (diff) | |
download | linux-18b67315388cb528479050839c69d245164f6183.tar.bz2 |
habanalabs: Fix kernel-doc
Fix the following W=1 kernel warnings:
drivers/misc/habanalabs/common/mmu/mmu_v1.c:425: warning: expecting
prototype for hl_mmu_fini(). Prototype was for hl_mmu_v1_fini() instead.
drivers/misc/habanalabs/common/mmu/mmu_v1.c:449: warning: expecting
prototype for hl_mmu_ctx_init(). Prototype was for hl_mmu_v1_ctx_init()
instead.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/habanalabs/common/mmu/mmu_v1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/habanalabs/common/mmu/mmu_v1.c b/drivers/misc/habanalabs/common/mmu/mmu_v1.c index e2d91a69acc2..ad4b49281cd7 100644 --- a/drivers/misc/habanalabs/common/mmu/mmu_v1.c +++ b/drivers/misc/habanalabs/common/mmu/mmu_v1.c @@ -412,7 +412,7 @@ err_pool_add: } /** - * hl_mmu_fini() - release the MMU module. + * hl_mmu_v1_fini() - release the MMU module. * @hdev: habanalabs device structure. * * This function does the following: @@ -438,7 +438,7 @@ static void hl_mmu_v1_fini(struct hl_device *hdev) } /** - * hl_mmu_ctx_init() - initialize a context for using the MMU module. + * hl_mmu_v1_ctx_init() - initialize a context for using the MMU module. * @ctx: pointer to the context structure to initialize. * * Initialize a mutex to protect the concurrent mapping flow, a hash to hold all |