diff options
| author | Sam Bobroff <[email protected]> | 2018-09-12 11:23:20 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-10-13 22:21:25 +1100 |
| commit | f9bc28aedfb5bbd572d2d365f3095c1becd7209b (patch) | |
| tree | a852ba37c93b0e5f3017ed297c65befd3f580151 /tools/perf/scripts/python/bin | |
| parent | 747b21760822957750d41a430b4f3974852895f5 (diff) | |
powerpc/eeh: Fix possible null deref in eeh_dump_dev_log()
If an error occurs during an unplug operation, it's possible for
eeh_dump_dev_log() to be called when edev->pdn is null, which
currently leads to dereferencing a null pointer.
Handle this by skipping the error log for those devices.
Signed-off-by: Sam Bobroff <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions