diff options
| author | Sam Bobroff <sbobroff@linux.ibm.com> | 2018-09-12 11:23:20 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-13 22:21:25 +1100 |
| commit | f9bc28aedfb5bbd572d2d365f3095c1becd7209b (patch) | |
| tree | a852ba37c93b0e5f3017ed297c65befd3f580151 /tools/perf/scripts/python/bin | |
| parent | powerpc/boot: Build boot wrapper with optimisations (diff) | |
| download | linux-f9bc28aedfb5bbd572d2d365f3095c1becd7209b.tar.gz linux-f9bc28aedfb5bbd572d2d365f3095c1becd7209b.zip | |
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 <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
