coreboot-kgpe-d16/src/soc/intel
John Zhao 270e25594f 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>
2021-07-08 15:47:53 +00:00
..
alderlake soc/intel/alderlake: Avoid NULL pointer deference 2021-07-08 15:47:53 +00:00
apollolake arch/x86: Add X86_CUSTOM_BOOTMEDIA 2021-07-02 23:11:16 +00:00
baytrail src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
braswell src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
broadwell arch/x86/ioapic: Drop irq_on_fsb as a configurable item 2021-06-16 19:54:49 +00:00
cannonlake src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
common arch/x86: Add X86_CUSTOM_BOOTMEDIA 2021-07-02 23:11:16 +00:00
denverton_ns arch/x86: Use ENV_X86_64 instead of _x86_64_ 2021-07-06 06:09:13 +00:00
elkhartlake src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
icelake src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
jasperlake src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
quark src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
skylake src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
tigerlake src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
xeon_sp src: Introduce ARCH_ALL_STAGES_X86 2021-07-02 08:19:10 +00:00
Kconfig