drm/amdgpu: fix typo in amdgpu_ras_aca_sysfs_read() function
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix typo in amdgpu_ras_aca_sysfs_read() function
fix typo "info.ue_count" in amdgpu_ras_aca_sysfs_read() function.
Fixes edd67b5417f5 ("drm/amdgpu: add aca deferred error type support")
Signed-off-by Yang Wang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +1 -1
@@ -1299,7 +1299,7 @@ ssize_t amdgpu_ras_aca_sysfs_read(struct device *dev, struct device_attribute *areturn -EINVAL ;return sysfs_emit (buf,"%s: %lu\n%s: %lu\n%s: %lu\n" ,"ue" , info.ue_count, -"ce" , info.ce_count,"de" , info.ue_count); +"ce" , info.ce_count,"de" , info.de_count); } static int amdgpu_ras_query_error_status_helper(struct amdgpu_device *adev,
Signature · 1 line
2.34.1
[AMD Official Use Only - AMD Internal Distribution Only]
Reviewed-by Tao Zhou <[email protected]>
Quoted 35 lines
-----Original Message-----
From: Wang, Yang(Kevin) <[email protected]>
Sent: Monday, May 27, 2024 3:47 PM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Zhou1, Tao <[email protected]>; Chai, Thomas <[email protected]>
Subject: [PATCH] drm/amdgpu: fix typo inamdgpu_ras_aca_sysfs_read()functionfix typo "info.ue_count" in
amdgpu_ras_aca_sysfs_read()function.Fixes edd67b5417f5 ("drm/amdgpu: add aca deferred error type support")Signed-off-by Yang Wang <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +1
-1@@ -1299,7 +1299,7 @@ ssize_t amdgpu_ras_aca_sysfs_read(struct device *dev, struct device_attribute *a return -EINVAL ;return sysfs_emit (buf,"%s: %lu\n%s: %lu\n%s: %lu\n" ,"ue" , info.ue_count, -"ce" , info.ce_count,"de" , info.ue_count); +"ce" , info.ce_count,"de" , info.de_count); }static int amdgpu_ras_query_error_status_helper(struct
amdgpu_device*adev,
--
2.34.1