aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>2019-10-21 01:34:29 -0400
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-10-22 13:15:39 -0700
commitf6824308c4be25ba024ab942a6135aa0356acaea (patch)
tree40c45b50e3e9a20f8ffd780f64f64deefc6cef1a /net/sched
parentbnxt_en: Minor formatting changes in FW devlink_health_reporter (diff)
downloadlinux-dev-f6824308c4be25ba024ab942a6135aa0356acaea.tar.xz
linux-dev-f6824308c4be25ba024ab942a6135aa0356acaea.zip
bnxt_en: Avoid disabling pci device in bnxt_remove_one() for already disabled device.
With the recently added error recovery logic, the device may already be disabled if the firmware recovery is unsuccessful. In bnxt_remove_one(), check that the device is still enabled first before calling pci_disable_device(). Fixes: 3bc7d4a352ef ("bnxt_en: Add BNXT_STATE_IN_FW_RESET state.") Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions