diff options
author | John Zhao <john.zhao@intel.com> | 2021-07-06 10:28:18 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-08 15:47:53 +0000 |
commit | 270e25594faab04c4db402b47922af8740673777 (patch) | |
tree | 29663f6655096c1adf51d52fde405684afe5c712 /src/mainboard | |
parent | f96aa7a68780529fcef97dd207416cfcee9e68b9 (diff) |
soc/intel/alderlake: Avoid NULL pointer deference
Coverity detects dereference pointers req and res that are NULL when
calling the pmc_send_ipc_cmd function. This change prevents NULL
pointers dereference.
Found-by: Coverity CID 1458077, 1458078
TEST=None
Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: I151157e7a9a90c43075f431933ac44f29fd25127
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56123
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions