Re: [PATCH] accel/habanalabs: fix mismatched alloc/free for kvcalloc()
From: Qianfeng Rong
Date: Sat Aug 16 2025 - 07:31:18 EST
在 2025/8/16 19:06, Lukas Wunner 写道:
[You don't often get email from lukas@xxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
On Fri, Aug 08, 2025 at 04:55:27PM +0800, Qianfeng Rong wrote:
Replace kfree() with kvfree() for memory allocated by kvcalloc().
Compile-tested only.
Fixes: f728c17fc97a ("accel/habanalabs/gaudi2: move HMMU page tables to device memory")
Signed-off-by: Qianfeng Rong <rongqianfeng@xxxxxxxx>
Thorsten Blum submitted an identical patch a year earlier:
https://patch.msgid.link/20240820231028.136126-1-thorsten.blum@xxxxxxxxxx
I've just applied his patch but added a Reported-by tag with your name to
acknowledge your contribution.
it's ok, thanks.
Thanks!
Lukas