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 ACPI: Have single call-site for acpi_inject_nvsa() 2021-01-13 18:30:13 +00:00
arch arch/x86/Makefile.inc: Clean up generated assembly stubs 2021-01-08 08:10:04 +00:00
commonlib drivers/tpm: Implement full PPI 2020-12-21 02:38:20 +00:00
console lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
cpu cpu/intel/*init: Remove obsolete cache enable 2021-01-15 11:21:04 +00:00
device device/pci_device.c: Use same indents for switch/case 2021-01-12 13:33:59 +00:00
drivers drivers/genesyslogic/gl9763e: Add HS400ES compatibility settings 2021-01-12 04:52:16 +00:00
ec build system: Structure and serialize INTERMEDIATE 2021-01-14 16:53:06 +00:00
include ACPI: Have single call-site for acpi_inject_nvsa() 2021-01-13 18:30:13 +00:00
lib arch/x86: Move prologue to .init section 2021-01-07 11:02:03 +00:00
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 build system: Structure and serialize INTERMEDIATE 2021-01-14 16:53:06 +00:00
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 src/superio: trim and move Makefile.inc, instead use wildcard matches 2020-12-27 14:46:07 +00:00
vendorcode vc/eltan/security/verified_boot/vboot_check.c: Add check PROG_POSTCAR 2021-01-15 11:18:58 +00:00
Kconfig Kconfig: Show console debug options if loglevel override is set 2020-12-11 15:58:24 +00:00