diff options
| author | Thorsten Blum <[email protected]> | 2024-08-20 23:10:28 +0000 |
|---|---|---|
| committer | Lukas Wunner <[email protected]> | 2025-08-16 10:45:08 +0000 |
| commit | a44458dfd5bc0c79c6739c3f4c658361d3a5126b (patch) | |
| tree | b7b6bac6905b0f2248b89d7ba861213e19830017 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | MAINTAINERS: Change habanalabs maintainers (diff) | |
| download | kernel-a44458dfd5bc0c79c6739c3f4c658361d3a5126b.tar.gz kernel-a44458dfd5bc0c79c6739c3f4c658361d3a5126b.zip | |
accel/habanalabs/gaudi2: Use kvfree() for memory allocated with kvcalloc()
Use kvfree() to fix the following Coccinelle/coccicheck warning reported
by kfree_mismatch.cocci:
WARNING kvmalloc is used to allocate this memory at line 10398
Fixes: f728c17fc97a ("accel/habanalabs/gaudi2: move HMMU page tables to device memory")
Reported-by: Qianfeng Rong <[email protected]>
Closes: https://patch.msgid.link/[email protected]
Signed-off-by: Thorsten Blum <[email protected]>
[lukas: acknowledge Qianfeng, adjust Thorsten's domain, add Fixes tag]
Signed-off-by: Lukas Wunner <[email protected]>
Reviewed-by: Tomer Tayar <[email protected]>
Cc: [email protected] # v6.9+
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
