aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLino Sanfilippo <[email protected]>2012-12-01 02:39:28 +0000
committerDavid S. Miller <[email protected]>2012-12-03 13:52:31 -0500
commit1c85382e30618f66d4b15e608ff32253beb22649 (patch)
treeba78c1e14a8b52f554155a8dbd6dfea14c1cf2c8 /tools/perf/scripts/python
parentcb64edb6b89491edfdbae52ba7db9a8b8391d339 (diff)
sky2: fix cleanup sequence in probe() function
The cleanup sequence in sky2_probe() that is called in case of an error is mixed up in different places: - pci_disable_device() is not called in each case the device has been enabled before - same for pci_disable_msi(): test_msi() may return with an error != EOPNOTSUPP (due to failure of request_irq()). In that case msi is not disabled - also failure of register_netdev() does not disable msi This patch fixes the concerning parts. Signed-off-by: Lino Sanfilippo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions