[ldv-project] [PATCH] iwlegacy: don't return zero on failure paths in il4965_pci_probe()
Stanislaw Gruszka
sgruszka at redhat.com
Mon Jan 21 14:41:54 MSK 2013
On Sat, Jan 19, 2013 at 04:56:34PM +0400, Alexey Khoroshilov wrote:
> 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 at ispras.ru>
ACK
More information about the ldv-project
mailing list