From 248c6f79f4011bfecbd2a64c7276c92d1f8af0b8 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 --- python_smi_tools/rocm_smi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_smi_tools/rocm_smi.py b/python_smi_tools/rocm_smi.py index 73016599e0..ce67112ce6 100755 --- a/python_smi_tools/rocm_smi.py +++ b/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, '_')