commit | bcbe3730531239abd45ab6c6af4a18078b37dd47 | [log] [tgz] |
---|---|---|
author | Sam Bobroff <sbobroff@linux.ibm.com> | Wed Sep 12 11:23:21 2018 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Oct 13 22:21:25 2018 +1100 |
tree | f52e4a7cd0c3035c7628e779917390cfdd55bff3 | |
parent | f9bc28aedfb5bbd572d2d365f3095c1becd7209b [diff] |
powerpc/eeh: Fix null deref for devices removed during EEH If a device is removed during EEH processing (either by a driver's handler or as part of recovery), it can lead to a null dereference in eeh_pe_report_edev(). To handle this, skip devices that have been removed. Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>