Fix RAS change

RAS formatting changed, so get it to handle both types of sysfs output
until it's normalized
Change-Id: I56f2a2495af8ff4d01011bc614283376afb9ad0a
Este commit está contenido en:
Kent Russell
2019-08-08 09:00:22 -04:00
padre 0da1599c4f
commit a34832f11e
Se han modificado 3 ficheros con 14 adiciones y 5 borrados
+2 -1
Ver fichero
@@ -383,8 +383,9 @@ typedef enum {
RSMI_RAS_ERR_STATE_MULT_UC, //!< Multiple uncorrectable errors
RSMI_RAS_ERR_STATE_POISON, //!< Firmware detected error and isolated
//!< page. Treat as uncorrectable.
RSMI_RAS_ERR_STATE_ENABLED, //!< ECC is enabled
RSMI_RAS_ERR_STATE_LAST = RSMI_RAS_ERR_STATE_POISON,
RSMI_RAS_ERR_STATE_LAST = RSMI_RAS_ERR_STATE_ENABLED,
RSMI_RAS_ERR_STATE_INVALID = 0xFFFFFFFF
} rsmi_ras_err_state_t;