From: Alexey Khoroshilov Date: Sat, 19 Jan 2013 12:56:34 +0000 (+0400) Subject: iwlegacy: don't return zero on failure paths in il4965_pci_probe() X-Git-Tag: v3.9-rc1~139^2~242^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=662845057f2d063461c88a97b737ec7f66daece0;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed