coreboot-kgpe-d16/src
Angel Pons 06e6983002 soc/intel/braswell: Prevent NULL pointer dereference
Exit early if the chipset power state info isn't in CBMEM. Return -1 in
order to ensure the one caller of this function exits early as well.

Found-by: Coverity CID 1442304
Change-Id: Ifa42ba3024d3144de486d90ed7752820482549bf
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49359
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Lance Zhao
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-01-15 11:22:28 +00:00
..
acpi
arch
commonlib
console
cpu cpu/intel/*init: Remove obsolete cache enable 2021-01-15 11:21:04 +00:00
device
drivers
ec
include
lib
mainboard mb/google/dedede/var/metaknight: Add LTE power on/off sequence 2021-01-15 11:22:13 +00:00
northbridge nb/intel/x4x: Clean up raminit comments 2021-01-15 11:21:42 +00:00
security
soc soc/intel/braswell: Prevent NULL pointer dereference 2021-01-15 11:22:28 +00:00
southbridge nb/intel/pineview: Extract HPET setup and delay function 2021-01-15 11:20:04 +00:00
superio
vendorcode
Kconfig