diff options
author | John Zhao <john.zhao@intel.com> | 2021-07-06 10:51:16 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-08 22:01:11 +0000 |
commit | 8557613617e2c83bbe86ddf5226a84405b277bfc (patch) | |
tree | 1a95ed4a334f53269cffbbd0812d792743118e0f /src/drivers/genesyslogic/gl9755/gl9755.h | |
parent | 46719834010ce1f4c8ecbc12c9c52baa349ecf9d (diff) |
soc/intel/common: 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 1458068, 1458070, 1458971, 1458073, 1458075,
1458076
TEST=None
Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: Ib88fa5f44dd33ad1ad2e763d79438b5c5b78acb4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56124
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/drivers/genesyslogic/gl9755/gl9755.h')
0 files changed, 0 insertions, 0 deletions