]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix memory leak when ras is not supported on specific ip block
authorHawking Zhang <Hawking.Zhang@amd.com>
Sat, 31 Aug 2019 06:20:38 +0000 (14:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:36:22 +0000 (17:36 -0500)
commit4471b4b0218125cc94078079c80b86b2aecc7cbb
tree14366b8e2ab896d9f827d210f322afd22b11de03
parent0ba6b7a92e003a118e18414c648c05fe2e5131cd
drm/amdgpu: fix memory leak when ras is not supported on specific ip block

free ras_if if ras is not supported

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c