diff options
author | Somnath Kotur <somnath.kotur@emulex.com> | 2013-05-29 22:56:17 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-30 23:58:06 (GMT) |
commit | 01e5b2c4559d084f4eaf0d160d84cc185db141ba (patch) | |
tree | f6a76bf3fa3f5e39888f5cf960c884d970f6b84b /drivers/cpufreq | |
parent | e38b170695d4108eeb6cd84db36f567fc6de4120 (diff) | |
download | linux-fsl-qoriq-01e5b2c4559d084f4eaf0d160d84cc185db141ba.tar.xz |
be2net: Fix crash on 2nd invocation of PCI AER/EEH error_detected hook
During a PCI EEH/AER error recovery flow, if the device did not successfully
restart, the error_detected() hook may be called a second time with a
"perm_failure" state. This patch skips over driver cleanup for the second
invocation of the callback.
Also, Lancer error recovery code is fixed-up to handle these changes.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions