diff options
| author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-01-19 16:56:34 +0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2013-01-22 16:01:30 -0500 |
| commit | 662845057f2d063461c88a97b737ec7f66daece0 (patch) | |
| tree | 130f78401e8ccd4fd348b28a0ce3bc1671502a02 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | mwl8k: don't return zero on failure paths in mwl8k_probe[_hw]() (diff) | |
| download | linux-662845057f2d063461c88a97b737ec7f66daece0.tar.gz linux-662845057f2d063461c88a97b737ec7f66daece0.zip | |
iwlegacy: don't return zero on failure paths in il4965_pci_probe()
If hardware is not ready, il4965_pci_probe() breaks off initialization,
deallocates all resources, but returns zero.
The patch adds -EIO as return value in this case.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
