diff options
| author | Ondrej Zary <[email protected]> | 2015-11-17 19:24:17 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2015-11-25 22:08:48 -0500 |
| commit | bdd5ac4065dbc2bb1478ae0c9205a651487c7432 (patch) | |
| tree | 93ba4b17548f4a6c014d5c4bfcac8a7c651fd26e /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | e1e9a70642309020571a07b2918eca84cec6287a (diff) | |
atp870u: Improve _probe()
Move scsi_host_alloc() to the top of _probe() to remove code duplication,
*p and unneeded atpdev (de)allocation and copying. While at it, fix the
error paths to return real error codes and also add missing
pci_disble_device() call.
Signed-off-by: Ondrej Zary <[email protected]>
Reviewed-by: Hannes Reinicke <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions