aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <[email protected]>2018-11-19 15:25:17 +1100
committerMichael Ellerman <[email protected]>2018-12-20 22:59:03 +1100
commitc20577014f85f36d4e137d3d52a1f61225b4a3d2 (patch)
treeabcd04d47f07e2ff077d34dd5c65ba914004eb54 /tools/perf/util/scripting-engines/trace-event-python.c
parenta25de7af340fcd19a59978ded2ff04ed329bca06 (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 <[email protected]> Reviewed-by: Sam Bobroff <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions