diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2018-11-19 15:25:17 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 09:20:43 +0100 |
commit | e440f9fd4eddd44f790a39090c4747df22efbc0e (patch) | |
tree | 081b6893a7eb9f0df8ae12dd0a5f104243568ec6 /crypto/aegis128l.c | |
parent | 42cdd8e9616d5a228ba1dd17ed8a2a8d2719b1a1 (diff) | |
download | linux-rt-e440f9fd4eddd44f790a39090c4747df22efbc0e.tar.gz |
powerpc/powernv/eeh/npu: Fix uninitialized variables in opal_pci_eeh_freeze_status
[ Upstream commit c20577014f85f36d4e137d3d52a1f61225b4a3d2 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/aegis128l.c')
0 files changed, 0 insertions, 0 deletions