Skip to content

Commit 49c260b

Browse files
Yang Wangalexdeucher
authored andcommitted
drm/amdgpu: fix typo for amdgpu ras error data print
typo fix. Fixes: 5b1270b ("drm/amdgpu: add ras_err_info to identify RAS error source") Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Candice Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 017634a commit 49c260b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ static void amdgpu_ras_error_print_error_data(struct amdgpu_device *adev,
10381038
ras_mgr->err_data.ue_count, blk_name);
10391039
else
10401040
dev_info(adev->dev, "%ld correctable hardware errors detected in %s block\n",
1041-
ras_mgr->err_data.ue_count, blk_name);
1041+
ras_mgr->err_data.ce_count, blk_name);
10421042

10431043
for_each_ras_error(err_node, err_data) {
10441044
err_info = &err_node->err_info;
@@ -1055,7 +1055,7 @@ static void amdgpu_ras_error_print_error_data(struct amdgpu_device *adev,
10551055
"%lld correctable hardware errors detected in %s block\n",
10561056
mcm_info->socket_id,
10571057
mcm_info->die_id,
1058-
err_info->ue_count,
1058+
err_info->ce_count,
10591059
blk_name);
10601060
}
10611061
}

0 commit comments

Comments
 (0)