diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-05-27 17:10:24 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-29 20:11:19 +0000 |
commit | bdcb4d37506f04e205f11ff45fd0925cf2a5cbc1 (patch) | |
tree | 07db46de62e9e7d4836a7507ec24d90d85ea66fc /payloads/libpayload/drivers/i8042 | |
parent | 924463d1a58075c208b008e13d8b0ec2f2b8731a (diff) |
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>
Diffstat (limited to 'payloads/libpayload/drivers/i8042')
0 files changed, 0 insertions, 0 deletions