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.
>
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 +