diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2020-02-25 16:43:04 +0530 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2020-02-26 20:35:27 +1100 |
commit | c8418ac7945db2c73c458093576881d806d7e81d (patch) | |
tree | 7f8af204bb0f05b1930311e505f61c678b69659c /hw | |
parent | ee07f2c68160300c82ab92dfeeeeb96ecbfe6c8e (diff) | |
download | skiboot-c8418ac7945db2c73c458093576881d806d7e81d.zip skiboot-c8418ac7945db2c73c458093576881d806d7e81d.tar.gz skiboot-c8418ac7945db2c73c458093576881d806d7e81d.tar.bz2 |
errorlog: Replace hardcode value with macro
Suggested-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/fsp/fsp-mem-err.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/fsp/fsp-mem-err.c b/hw/fsp/fsp-mem-err.c index d64558a..2745006 100644 --- a/hw/fsp/fsp-mem-err.c +++ b/hw/fsp/fsp-mem-err.c @@ -233,7 +233,7 @@ send_response: log_append_msg(buf, "OPAL_MEM_ERR: Cannot queue up memory " "resilience error event to the OS"); - log_add_section(buf, 0x44455350); + log_add_section(buf, OPAL_ELOG_SEC_DESC); log_append_data(buf, (char *) &mem_err_evt, sizeof(struct OpalMemoryErrorData)); log_commit(buf); @@ -322,7 +322,7 @@ send_response: log_append_msg(buf, "OPAL_MEM_ERR: Cannot queue up memory " "deallocation error event to the OS"); - log_add_section(buf, 0x44455350); + log_add_section(buf, OPAL_ELOG_SEC_DESC); log_append_data(buf, (char *)&mem_err_evt, sizeof(struct OpalMemoryErrorData)); log_commit(buf); |