aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMichael Neuling <[email protected]>2015-05-27 16:07:05 +1000
committerMichael Ellerman <[email protected]>2015-06-03 13:27:17 +1000
commit7f436b534d5a2277b4826e252a6f622e7986bbd3 (patch)
tree8b5ce536ec020ff5aa97a67ee8412bf27b2c6f43 /tools/perf/scripts/python/sctop.py
parentbee30c7045847524be1b4b6b23a303c6763a96f9 (diff)
cxl: Fix error path on probe
When probing we call pci_enable_device() but don't call pci_disable_device() on fail. This causes refcounting issues in the PCI subsystem if a second driver tries to bind to the same device. This patch adds the pci_disable_device() to the probe error path. This error path is hit when this cxl driver tries to bind to AFUs (on the vPHB) rather than the physical device. Signed-off-by: Michael Neuling <[email protected]> Acked-by: Ian Munsie <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions