]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix ras ctrl debugfs node leak
authorGuchun Chen <guchun.chen@amd.com>
Mon, 16 Sep 2019 05:42:46 +0000 (13:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 20:30:38 +0000 (15:30 -0500)
commita6db06f669bb9827e43ef74a531a55c40b1390be
treef083d2b4e663b93d6dcb4a53a2118e6ab5009bed
parent5e3efebe4a396787f35a84398ec2fb9840c40a7f
drm/amdgpu: fix ras ctrl debugfs node leak

Use debugfs_remove_recursive to remove the whole debugfs
directory instead of removing the node one by one.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h