commit | 662845057f2d063461c88a97b737ec7f66daece0 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Jan 19 16:56:34 2013 +0400 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jan 22 16:01:30 2013 -0500 |
tree | 130f78401e8ccd4fd348b28a0ce3bc1671502a02 | |
parent | a2ca8ecb8ffc985e82c9570c3837408f7efe8c9d [diff] |
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>