From 569847e37536ac32da00f4ca5cef1deb5affc02d Mon Sep 17 00:00:00 2001 From: "kent.russell@amd.com" Date: Thu, 8 Dec 2022 12:27:00 -0500 Subject: [PATCH] rocm_smi.py: Fix order of CE and UE reporting We append CE then UE, but in the table right after, it goes UE then CE. Fix the order of the table, and add capitals for consistency Change-Id: I208f37685508ab1e2ff83d3456620bbbf3a16268 [ROCm/rocm_smi_lib commit: 248c6f79f4011bfecbd2a64c7276c92d1f8af0b8] --- projects/rocm-smi-lib/python_smi_tools/rocm_smi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocm-smi-lib/python_smi_tools/rocm_smi.py b/projects/rocm-smi-lib/python_smi_tools/rocm_smi.py index 73016599e0..ce67112ce6 100755 --- a/projects/rocm-smi-lib/python_smi_tools/rocm_smi.py +++ b/projects/rocm-smi-lib/python_smi_tools/rocm_smi.py @@ -2146,7 +2146,7 @@ def showRasInfo(deviceList, rasType): row.append(ec.correctable_err) row.append(ec.uncorrectable_err) data.append(row) - printTableLog([' Block', ' Status ', 'uncorrectable err', 'correctable err'], data, device, + printTableLog([' Block', ' Status ', 'Correctable Error', 'Uncorrectable Error'], data, device, 'RAS INFO') # TODO: Use dynamic spacing for column widths printLogSpacer(None, '_')