Re: [PATCH] drm/nouveau/gsp: fix mismatched alloc/free for kvmalloc()
From: Markus Elfring
Date: Wed Aug 13 2025 - 08:56:50 EST
> Replace …
Is there a need to adjust also the following statement combination?
https://elixir.bootlin.com/linux/v6.16/source/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c#L312-L314
…
kvfree(info.gsp_rpc_buf);
info.gsp_rpc_buf = NULL;
return buf;
…
Regards,
Markus