Skip to content

Commit 3c603b1

Browse files
Yang Wangalexdeucher
authored andcommitted
drm/amdgpu: fix typo in amdgpu_ras_aca_sysfs_read() function
fix typo "info.ue_count" in amdgpu_ras_aca_sysfs_read() function. Fixes: 865d339 ("drm/amdgpu: add aca deferred error type support") Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 511a623 commit 3c603b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ ssize_t amdgpu_ras_aca_sysfs_read(struct device *dev, struct device_attribute *a
12991299
return -EINVAL;
13001300

13011301
return sysfs_emit(buf, "%s: %lu\n%s: %lu\n%s: %lu\n", "ue", info.ue_count,
1302-
"ce", info.ce_count, "de", info.ue_count);
1302+
"ce", info.ce_count, "de", info.de_count);
13031303
}
13041304

13051305
static int amdgpu_ras_query_error_status_helper(struct amdgpu_device *adev,

0 commit comments

Comments
 (0)