drm/amdgpu: fix memory leak during TDR test(v2)
authorMonk Liu <Monk.Liu@amd.com>
Sat, 8 Feb 2020 11:01:21 +0000 (19:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 07:11:52 +0000 (08:11 +0100)
commitbbf3acbb8a7786ecf8f223fb18131ea255e0a7ef
tree0eb643e48f2207435a06806dd1efbbe8fcb98e33
parent74c77d6a4ea998fed8f99e0a71e2b60295d1a57d
drm/amdgpu: fix memory leak during TDR test(v2)

[ Upstream commit 4829f89855f1d3a3d8014e74cceab51b421503db ]

fix system memory leak

v2:
fix coding style

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c