drm/amdgpu: fix error handling in amdgpu_cs_user_fence_chunk
authorChristian König <christian.koenig@amd.com>
Mon, 10 Sep 2018 13:52:55 +0000 (15:52 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 21:29:58 +0000 (16:29 -0500)
commit7893499e3022542f6522847837487019ea83f142
treec8386e5b09fdbccbb2895a97c5a702bba58d8be5
parent67f7cf9f76bccaadafc41b541e361ddb925c8921
drm/amdgpu: fix error handling in amdgpu_cs_user_fence_chunk

Slowly leaking memory one page at a time :)

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c