coreboot-kgpe-d16/src/drivers
Bill XIE f880eb061b drivers/ipmi: Handle the condition when (dev->chip_info == NULL)
Some former commits (e.g. Ieb41771c75aae902191bba5d220796e6c343f8e0)
blindly assume that dev->chip_info is capable to be dereferenced,
making at least compilers complain about potential null pointer
dereference. They might cause crash if truly (dev->chip_info == NULL).

Signed-off-by: Bill XIE <persmule@hardenedlinux.org>
Change-Id: I1d694b12f6c42961c104fe839d4ee46c0f111197
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47387
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
2020-12-12 00:47:48 +00:00
..
amd cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
ams
analogix/anx7625 src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
asmedia src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
aspeed drivers/aspeed/common/ast: Fix compilation under x86_64 2020-12-01 16:01:31 +00:00
broadcom src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
camera drivers/camera: Add config CHROMEOS_CAMERA 2020-10-19 06:50:20 +00:00
crb drivers/crb/tpm: Fix compilation on x86_64 2020-12-10 07:25:23 +00:00
elog src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
emulation/qemu src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
generic acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
genesyslogic drivers/genesyslogic/gl9755: Adjust L1 exit latency to enable ASPM 2020-12-10 18:13:12 +00:00
gfx/generic acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
gic
i2c drivers/i2c/tpm: Unconditionally allow I2C TPM ACPI node 2020-12-08 16:54:56 +00:00
intel drivers/intel/fsp1_1/cache_as_ram.S: Correct comment 2020-12-10 17:48:52 +00:00
ipmi drivers/ipmi: Handle the condition when (dev->chip_info == NULL) 2020-12-12 00:47:48 +00:00
lenovo src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
maxim src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
mrc_cache mrc_cache: Move code for triggering memory training into mrc_cache 2020-11-13 22:57:50 +00:00
net src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
ocp/dmi soc/intel/xeon_sp: Move read_msr_ppin() to common util.c 2020-10-30 17:13:53 +00:00
parade src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
pc80 cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
ricoh/rce822
secunet/dmi
siemens/nc_fpga src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
sil/3114
smmstore drivers/smmstore: Implement SMMSTORE version 2 2020-10-22 12:29:47 +00:00
soundwire acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
spi coreboot tables: Add SPI flash memory map windows to coreboot tables 2020-12-08 22:56:09 +00:00
ti drivers: snsn65dsi86: Fix link rate parsing 2020-10-13 22:41:05 +00:00
tpm drivers/tpm: Move PPI stub 2020-11-22 22:27:29 +00:00
uart lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
usb drivers/usb/acpi: Add support for privacy_gpio 2020-11-09 07:40:52 +00:00
vpd drivers/vpd: add VPD region VPD_RW_THEN_RO 2020-06-02 07:18:40 +00:00
wifi/generic vc/google/chromeos/sar: Make "SAR not found" log a debug message 2020-11-20 08:36:26 +00:00