RE: [PATCH] drm/amdgpu: guard ras debugfs creation/removal based on CONFIG_DEBUG_FS

2020-08-13 Thread Zhou1, Tao
uchun > Subject: [PATCH] drm/amdgpu: guard ras debugfs creation/removal based on > CONFIG_DEBUG_FS > > It can avoid potential build warn/error when CONFIG_DEBUG_FS is not set. > > Signed-off-by: Guchun Chen > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 >

RE: [PATCH] drm/amdgpu: guard ras debugfs creation/removal based on CONFIG_DEBUG_FS

2020-08-13 Thread Li, Dennis
, Guchun Subject: [PATCH] drm/amdgpu: guard ras debugfs creation/removal based on CONFIG_DEBUG_FS It can avoid potential build warn/error when CONFIG_DEBUG_FS is not set. Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH] drm/amdgpu: guard ras debugfs creation/removal based on CONFIG_DEBUG_FS

2020-08-13 Thread Guchun Chen
It can avoid potential build warn/error when CONFIG_DEBUG_FS is not set. Signed-off-by: Guchun Chen --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index 35d5bf9