drm/amdkfd: destroy mutex if process creation fails
Subsystems (3)
PATCH 1/1 drm/amdkfd: destroy mutex if process creation fails
Signed-off-by Oded Gabbay <[email protected]>
--- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdkfd/kfd_process.c +1 -0
@@ -323,6 +323,7 @@ err_process_pqm_init:synchronize_rcu ();mmu_notifier_unregister_no_release (&process->mmu_notifier, process->mm); err_mmu_notifier: +mutex_destroy (&process->mutex);kfd_pasid_free (process->pasid); err_alloc_pasid:kfree (process->queues);
Signature · 6 lines
2.5.5 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel