coreboot-kgpe-d16/src/soc/amd/common
Felix Held 5d084ddb87 soc/amd/common/block/acpi/bert: fix NULL check
In acpi_soc_get_bert_region after the bert_errors_region call is was
checked if the region parameter is NULL after the call; since region is
a parameter of acpi_soc_get_bert_region, it's non-NULL. What we should
be checking here is if region points to a non-NULL pointer.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reported-by: Coverity (CID:1457506)
Change-Id: I0523504d65725ab2d2df4db28a5dedd90697b917
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55541
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-06-16 19:01:41 +00:00
..
acpi soc/amd/picasso/acpi/cpu: move WAL1 method that calls ALIB to common 2021-05-08 18:21:25 +00:00
block soc/amd/common/block/acpi/bert: fix NULL check 2021-06-16 19:01:41 +00:00
fsp soc/amd/picasso: Move Type 17 DMI generation to common 2021-06-13 09:55:30 +00:00
psp_verstage cezanne/psp_verstage: add reset/timer svc 2021-06-07 05:16:20 +00:00
vboot amd/vboot: remove bl_syscall_public.h from include 2021-04-23 16:33:44 +00:00
Kconfig.common soc/amd/picasso: Move Type 17 DMI generation to common 2021-06-13 09:55:30 +00:00
Makefile.inc soc/amd/picasso: move chipset_handle_reset to common 2020-12-11 17:44:19 +00:00