diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-03-07 17:18:32 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-03-08 18:33:30 +0300 |
commit | d713b8d2aa03454e676fbf453b1231c43033c33d (patch) | |
tree | b4ac5f524ab9646f2bf802691839d04a44d86784 /net/sunrpc | |
parent | f2a6c7e7474001842a4adaf042d12206c27fc391 (diff) | |
download | linux-d713b8d2aa03454e676fbf453b1231c43033c33d.tar.xz |
platform/x86: amd-pmc: uninitialized variable in amd_pmc_s2d_init()
The "size" variable can be uninitialized if amd_pmc_send_cmd() fails.
Fixes: 3d7d407dfb05 ("platform/x86: amd-pmc: Add support for AMD Spill to DRAM STB feature")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220307141832.GA19660@kili
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions