Skip to contentSkip to conversation

drm/amdgpu: fix typo for amdgpu ras error data print

PATCH In review Yang Wang 2 participants 2 messages Oct 19, 2023

Subsystems (2)
lore
Share & tools
lore

Yang Wang

author
#0 lore raw

PATCH 1/1 drm/amdgpu: fix typo for amdgpu ras error data print

typo fix.

Fixes d479ef0d5fbd ("drm/amdgpu: add ras_err_info to identify RAS error source")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2 -2
index c7f8dcb3b4d2..5b831ba0ebb3 100644
@@ -1038,7 +1038,7 @@ static void amdgpu_ras_error_print_error_data(struct amdgpu_device *adev,
 			 ras_mgr->err_data.ue_count, blk_name);
 	else
 		dev_info(adev->dev, "%ld correctable hardware errors detected in %s block\n",
-			 ras_mgr->err_data.ue_count, blk_name);
+			 ras_mgr->err_data.ce_count, blk_name);
 
 	for_each_ras_error(err_node, err_data) {
 		err_info = &err_node->err_info;
@@ -1055,7 +1055,7 @@ static void amdgpu_ras_error_print_error_data(struct amdgpu_device *adev,
 				 "%lld correctable hardware errors detected in %s block\n",
 				 mcm_info->socket_id,
 				 mcm_info->die_id,
-				 err_info->ue_count,
+				 err_info->ce_count,
 				 blk_name);
 		}
 	}
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

Thanks,
Candice

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Yang Wang
Sent: Thursday, October 19, 2023 3:15 PM
To: [email protected]
Cc: Wang, Yang(Kevin) <[email protected]>; Zhang, Hawking <[email protected]>
Subject: [PATCH] drm/amdgpu: fix typo for amdgpu ras error data print

typo fix.

Fixes d479ef0d5fbd ("drm/amdgpu: add ras_err_info to identify RAS error source")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2 -2
index c7f8dcb3b4d2..5b831ba0ebb3 100644
@@ -1038,7 +1038,7 @@ static void amdgpu_ras_error_print_error_data(struct amdgpu_device *adev,
                         ras_mgr->err_data.ue_count, blk_name);
        else
                dev_info(adev->dev, "%ld correctable hardware errors detected in %s block\n",
-                        ras_mgr->err_data.ue_count, blk_name);
+                        ras_mgr->err_data.ce_count, blk_name);
 
        for_each_ras_error(err_node, err_data) {
                err_info = &err_node->err_info;
@@ -1055,7 +1055,7 @@ static void amdgpu_ras_error_print_error_data(struct amdgpu_device *adev,
                                 "%lld correctable hardware errors detected in %s block\n",
                                 mcm_info->socket_id,
                                 mcm_info->die_id,
-                                err_info->ue_count,
+                                err_info->ce_count,
                                 blk_name);
                }
        }

--
2.34.1