habanalabs: Fix kernel-doc
PATCH 1/2 habanalabs: Fix kernel-doc
Fix the following W=1 kernel warnings:
drivers/misc/habanalabs/common/pci/pci.c:454: warning: expecting prototype for hl_fw_fini(). Prototype was for hl_pci_fini() instead.
--- drivers/misc/habanalabs/common/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/habanalabs/common/pci/pci.c +1 -1
@@ -445,7 +445,7 @@ int hl_pci_init(struct hl_device *hdev) }/** -* hl_fw_fini() - PCI finalization code. +* hl_pci_fini() - PCI finalization code. * @hdev: Pointer to hl_device structure * * Unmap PCI bars and disable PCI device.
Signature · 1 line
2.20.1.7.g153144c
PATCH 2/2 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.
--- drivers/misc/habanalabs/common/mmu/mmu_v1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/misc/habanalabs/common/mmu/mmu_v1.c +2 -2
@@ -412,7 +412,7 @@ static int hl_mmu_v1_init(struct hl_device *hdev) }/** -* 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
Signature · 1 line
2.20.1.7.g153144c
Quoted 39 lines · Jiapeng Chong
Fix the following W=1 kernel warnings:
drivers/misc/habanalabs/common/mmu/mmu_v1.c:425: warning: expecting prototype forhl_mmu_fini(). Prototype was forhl_mmu_v1_fini()instead.
drivers/misc/habanalabs/common/mmu/mmu_v1.c:449: warning: expecting prototype forhl_mmu_ctx_init(). Prototype was forhl_mmu_v1_ctx_init()instead.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- drivers/misc/habanalabs/common/mmu/mmu_v1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/misc/habanalabs/common/mmu/mmu_v1.c +2
-3@@ -412,7 +412,7 @@ static int hl_mmu_v1_init(struct hl_device *hdev) }/** -* 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 --
Quoted 2 lines
2.20.1.7.g153144c
Both patches are
Applied to -next.
Thanks,
Oded