Re: [PATCH] drm/vgem: add missing mutex_destroy

2023-02-02 Thread Stanislaw Gruszka
On Thu, Feb 02, 2023 at 09:55:17AM -0300, Maíra Canal wrote: > vgem_fence_open() instantiates a mutex for a particular fence > instance, but never destroys it by calling mutex_destroy() in > vgem_fence_close(). > > So, add the missing mutex_destroy() to guarantee proper resource > destruction. >

[PATCH] drm/vgem: add missing mutex_destroy

2023-02-02 Thread Maíra Canal
vgem_fence_open() instantiates a mutex for a particular fence instance, but never destroys it by calling mutex_destroy() in vgem_fence_close(). So, add the missing mutex_destroy() to guarantee proper resource destruction. Signed-off-by: Maíra Canal --- drivers/gpu/drm/vgem/vgem_fence.c | 1 +