summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorSam Bobroff <sbobroff@linux.ibm.com>2018-05-25 06:11:39 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 13:43:41 +0300
commit665012c5734b0f2123dfb4b2bdd44c3344647b9a (patch)
tree6bfbf954ef2a77aa7663a986ba606c90f643c87d /scripts/gdb/linux/modules.py
parent010acfa1a76679174a0d8732965d76ae8a8531f7 (diff)
downloadlinux-665012c5734b0f2123dfb4b2bdd44c3344647b9a.tar.xz
powerpc/eeh: Cleaner handling of EEH_DEV_NO_HANDLER
If a device without a driver is recovered via EEH, the flag EEH_DEV_NO_HANDLER is incorrectly left set on the device after recovery, because the test in eeh_report_resume() for the existence of a bound driver is done before the flag is cleared. If a driver is later bound, and EEH experienced again, some of the drivers EEH handers are not called. To correct this, clear the flag unconditionally after EEH processing is complete. Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions