[PATCH] drm/nouveau/gsp: fix mismatched alloc/free for kvmalloc()
Markus Elfring
Markus.Elfring at web.de
Wed Aug 13 12:23:10 UTC 2025
> Replace kfree() with kvfree() for memory allocated by kvmalloc().
* Would you like to improve the exception handling by using another goto chain?
* How do you think about to increase the application of scope-based resource management?
https://elixir.bootlin.com/linux/v6.16/source/include/linux/slab.h#L1081
Regards,
Markus
More information about the dri-devel
mailing list