diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-09-14 11:54:47 -0600 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-09-16 09:40:30 +0000 |
commit | 35730389ef94fd9882ca6d30c5c1669a23e05627 (patch) | |
tree | 3c47b80b02604d0ea22bc6d242e903cc3da3d8bb /src/drivers/uart/sifive.c | |
parent | d47946e7506f5c919b7a7be78c1f6df110691397 (diff) |
soc/intel/common: Make read_pmc_lpm_requirements more clear
Commit 2eb100dd12 added PMC LPM requirements to the the PEP ACPI
objects, but it was not made clear that one of the pointer arguments to
the mentioned function is not supposed to be NULL and Coverity
complained. Make the intention clear by instead asserting that `info`
cannot be NULL.
Fixes: Coverity CID 1462119
Change-Id: I9e8862a100d92f4a7ed1826d3970a5110b47f4c4
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57645
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/drivers/uart/sifive.c')
0 files changed, 0 insertions, 0 deletions