Skip to content
Commit d713b8d2 authored by Dan Carpenter's avatar Dan Carpenter Committed by Hans de Goede
Browse files

platform/x86: amd-pmc: uninitialized variable in amd_pmc_s2d_init()



The "size" variable can be uninitialized if amd_pmc_send_cmd() fails.

Fixes: 3d7d407d ("platform/x86: amd-pmc: Add support for AMD Spill to DRAM STB feature")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220307141832.GA19660@kili


Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent f2a6c7e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment