AMDSMI - Fix kRasErrStateStrings in tests

Change-Id: Ia9498fae215397baf7201715574954313c17da93
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rdc commit: 4f7e441566]
This commit is contained in:
Galantsev, Dmitrii authored and Galantsev, Dmitrii committed 2024-11-07 11:21:22 -06:00
1 parent ae9030ab1a
commit efd58742db
1 file changed
+2 -3
+2 -3
View File
@@ -67,9 +67,8 @@ static const char* kRasErrStateStrings[] = {
"Error Unknown", // AMDSMI_RAS_ERR_STATE_PARITY
"Single, Correctable", // AMDSMI_RAS_ERR_STATE_SING_C
"Multiple, Uncorrectable", // AMDSMI_RAS_ERR_STATE_MULT_UC
"Poison" // AMDSMI_RAS_ERR_STATE_POISON
"Off", // AMDSMI_RAS_ERR_STATE_DISABLED
"On", // AMDSMI_RAS_ERR_STATE_ENABLED
"Poison", // AMDSMI_RAS_ERR_STATE_POISON
"Enabled", // AMDSMI_RAS_ERR_STATE_ENABLED
};
static_assert(sizeof(kRasErrStateStrings) / sizeof(char*) == (AMDSMI_RAS_ERR_STATE_LAST + 1),
"kErrStateNameMap needs to be updated");