drm/amdgpu: fix potential resource leak warning

[ Upstream commit 22a5daaec0 ]

Clear resource leak warning that when the prepare fails,
the allocated amdgpu job object will never be released.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Tim Huang 2024-04-25 11:09:00 +08:00 • committed by Greg Kroah-Hartman
commit bc93cfde69