summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/acpi/bert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/acpi/bert.c b/src/soc/amd/common/block/acpi/bert.c
index 207ee09563..968c9a6dc0 100644
--- a/src/soc/amd/common/block/acpi/bert.c
+++ b/src/soc/amd/common/block/acpi/bert.c
@@ -16,7 +16,7 @@ enum cb_err acpi_soc_get_bert_region(void **region, size_t *length)
return CB_ERR;
bert_errors_region(region, length);
- if (!region) {
+ if (!*region) {
printk(BIOS_ERR, "Error: Can't find BERT storage area\n");
return CB_ERR;
}