diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2022-11-03 17:01:46 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-09 17:57:16 -0500 |
commit | 66f7903779fbbc620bf1040017e4833ef6a0b541 (patch) | |
tree | 0d027388eee6fea4ae53c9b13dc1229989f8bd13 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | bc66c9ab162d2a633ee3eb864d7bc2369e79c1e4 (diff) | |
download | linux-66f7903779fbbc620bf1040017e4833ef6a0b541.tar.gz linux-66f7903779fbbc620bf1040017e4833ef6a0b541.tar.bz2 linux-66f7903779fbbc620bf1040017e4833ef6a0b541.zip |
drm/amdkfd: Fix error handling in kfd_criu_restore_events
mutex_unlock before the exit label because all the error code paths that
jump there didn't take that lock. This fixes unbalanced locking errors
in case of restore errors.
Fixes: 40e8a766a761 ("drm/amdkfd: CRIU checkpoint and restore events")
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions