arch/x86/acpi_bert_storage.c: Fix Error Section GUID compare

If the section guid is CPER_SEC_PROC_IA32X64_GUID we want the x86
processor specific section instead of the generic one.
This was probably some kind copy error from the line above.

Change-Id: I6a6a885bf8ab97cb5d256513cf8134078b707d3c
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Signed-off-by: Patrick Rudolph <patrick.rudolph@amd.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90476
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
This commit is contained in:
Maximilian Brune 2025-08-25 16:25:47 +02:00
commit b70309350f

View file

@ -531,7 +531,7 @@ acpi_generic_error_status_t *bert_new_event(guid_t *guid)
if (!guidcmp(guid, &CPER_SEC_PROC_GENERIC_GUID)) if (!guidcmp(guid, &CPER_SEC_PROC_GENERIC_GUID))
r = bert_append_genproc(status); r = bert_append_genproc(status);
else if (!guidcmp(guid, &CPER_SEC_PROC_GENERIC_GUID)) else if (!guidcmp(guid, &CPER_SEC_PROC_IA32X64_GUID))
r = bert_append_ia32x64(status); r = bert_append_ia32x64(status);
else if (!guidcmp(guid, &CPER_SEC_FW_ERR_REC_REF_GUID)) else if (!guidcmp(guid, &CPER_SEC_FW_ERR_REC_REF_GUID))
r = bert_append_fw_err(status); r = bert_append_fw_err(status);