summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2023-11-09 10:12:39 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-28 17:15:18 +0000
commitb827ed7014a0338a23597a662dcabed3cc47584c (patch)
tree8e66a41efa968ebffffe96fa85c55c2a73cd09a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parent7c6574dd032c3a18896298a803b8a2f098b13861 (diff)
drm/amdgpu: fix error handling in amdgpu_bo_list_get()
commit 12f76050d8d4d10dab96333656b821bd4620d103 upstream. We should not leak the pointer where we couldn't grab the reference on to the caller because it can be that the error handling still tries to put the reference then. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions