summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>2021-07-18 22:36:25 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-19 18:25:43 +0300
commitc81cfb6256d90ea5ba4a6fb280ea3b171be4e05c (patch)
tree75d732652c5cdbda72df2ed83a5db37aebbcd0f4 /tools/perf/scripts/python
parent5b69874f74cc5707edd95fcdaa757c507ac8af0f (diff)
downloadlinux-c81cfb6256d90ea5ba4a6fb280ea3b171be4e05c.tar.xz
bnxt_en: don't disable an already disabled PCI device
If device is already disabled in reset path and PCI io error is detected before the device could be enabled, driver could call pci_disable_device() for already disabled device. Fix this problem by calling pci_disable_device() only if the device is already enabled. Fixes: 6316ea6db93d ("bnxt_en: Enable AER support.") Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions