coreboot/src/drivers
Jacob Garber bdcb4d3750 drivers/generic/max98357a: Add extra error handling
It is possible that acpi_device_scope() and acpi_device_name() can
return NULL to indicate an error, so add error handling to check their
return values.

Change-Id: I4c7ab0c592845d9d5f142e078fc2b505a99ecd12
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1362592
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33028
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2019-05-29 20:11:19 +00:00
..
amd/agesa AGESA binaryPI: Add AGESA entry timestamps 2019-05-25 08:39:05 +00:00
ams src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
asmedia
aspeed src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
dec/21143 device/pci: Fix PCI accessor headers 2019-03-01 20:32:15 +00:00
elog drivers/elog: Rename ramstage_elog_add_boot_count() to elog_add_boot_count() 2019-05-16 04:35:13 +00:00
emulation/qemu drivers/emulation/qemu_debugcon: Don't use CAR_GLOBAL 2019-05-29 20:05:41 +00:00
generic drivers/generic/max98357a: Add extra error handling 2019-05-29 20:11:19 +00:00
gic device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
i2c mb/google/sarien: Disable touch by strap pin GPP_B4 2019-04-24 15:51:22 +00:00
intel drivers/intel/fsp2_0: Dont' use CAR_GLOBAL 2019-05-29 20:06:26 +00:00
ipmi src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
lenovo coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
maxim device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
mrc_cache coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
net src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
parade src: Add missing include <stdint.h> 2018-11-01 11:25:07 +00:00
pc80 Fix code that would trip -Wtype-limits 2019-05-06 10:32:15 +00:00
ricoh/rce822 arch/io.h: Drop unnecessary include 2019-03-04 15:08:03 +00:00
siemens/nc_fpga src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
sil/3114 src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
smmstore src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
spi boot_device: Constify argument 2019-05-12 07:47:45 +00:00
ti
tpm coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
uart Remove unnecessary ENV_RAMSTAGE guard 2019-05-14 06:56:59 +00:00
usb src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
vpd src/drivers/vpd: Remove unused VPD_DEBUG 2018-11-16 09:55:09 +00:00
xgi src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
xpowers/axp209