diff options
| author | Nathan Fontenot <[email protected]> | 2015-04-29 20:44:58 -0500 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2015-05-11 16:58:20 +1000 |
| commit | 2222ce0fbbcc4ebfa9995c8d23d72c8239ad712c (patch) | |
| tree | e1a646833a6e05afa0498e0e37970fe05f814609 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 202648a6070b69d60c6d0926ff06c8863e231468 (diff) | |
powerpc/pseries: Fix possible leaked device node reference
Failure return from dlpar_configure_connector when dlpar adding cpus
results in leaking references to the cpus parent device node. Move the
call to of_node_put() prior to checking the result of
dlpar_configure_connector.
Fixes: 8d5ff320766f ("powerpc/pseries: Make dlpar_configure_connector parent node aware")
Signed-off-by: Nathan Fontenot <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions