[PATCH] drm/nouveau/gsp: fix mismatched alloc/free for kvmalloc()

Markus Elfring Markus.Elfring at web.de
Wed Aug 13 12:56:21 UTC 2025


> 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


More information about the dri-devel mailing list