diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2018-11-19 15:25:17 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-20 22:59:03 +1100 |
commit | c20577014f85f36d4e137d3d52a1f61225b4a3d2 (patch) | |
tree | abcd04d47f07e2ff077d34dd5c65ba914004eb54 /drivers/cpufreq/cpufreq.c | |
parent | a25de7af340fcd19a59978ded2ff04ed329bca06 (diff) |
powerpc/powernv/eeh/npu: Fix uninitialized variables in opal_pci_eeh_freeze_status
The current implementation of the OPAL_PCI_EEH_FREEZE_STATUS call in
skiboot's NPU driver does not touch the pci_error_type parameter so
it might have garbage but the powernv code analyzes it nevertheless.
This initializes pcierr and fstate to zero in all call sites.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
0 files changed, 0 insertions, 0 deletions