Re: [RESEND PATCH] accel/habanalabs/gaudi2: Use kvfree() for memory allocated with kvcalloc()
From: Lukas Wunner
Date: Sat Aug 16 2025 - 07:02:38 EST
On Wed, Aug 21, 2024 at 01:10:28AM +0200, Thorsten Blum wrote:
> 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
>
> Reviewed-by: Tomer Tayar <ttayar@xxxxxxxxx>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>
Applied to drm-misc-fixes, thanks.
You used toblux.com in the Signed-off-by tag but have since amended
.mailmap to use linux.dev instead. To avoid a mismatch between the
Signed-off-by tag and the commit author, I've taken the liberty to
hand-edit the former to use linux.dev.
I've also added a Fixes tag and stable designation.
Qianfeng Rong later submitted an identical patch, so I've added a
Reported-by tag to acknowledge that:
https://patch.msgid.link/20250808085530.233737-1-rongqianfeng@xxxxxxxx
Thanks,
Lukas