diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-01-26 00:56:03 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-30 15:07:04 -0500 |
commit | 3220712d3aa4f5df12b7305ce340f6d216a84477 (patch) | |
tree | f0a3e0986984d9d53390af2506af853bd792504f /drivers/watchdog/w83697ug_wdt.c | |
parent | baf58b0e8f0e460e252e40f5fdf393b01a3cef7d (diff) | |
download | blackbird-op-linux-3220712d3aa4f5df12b7305ce340f6d216a84477.tar.gz blackbird-op-linux-3220712d3aa4f5df12b7305ce340f6d216a84477.zip |
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 <khoroshilov@ispras.ru>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/watchdog/w83697ug_wdt.c')
0 files changed, 0 insertions, 0 deletions