From: Alexey Khoroshilov Date: Fri, 25 Jan 2013 20:56:03 +0000 (+0400) Subject: mwifiex: don't return zero on failure paths in mwifiex_pcie_init() X-Git-Tag: v3.9-rc1~139^2~2^2^2~42^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3220712d3aa4f5df12b7305ce340f6d216a84477;p=pandora-kernel.git mwifiex: don't return zero on failure paths in mwifiex_pcie_init() If pci_iomap() fails in mwifiex_pcie_init(), it 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 Acked-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed