Files
linux/drivers
Alexey Khoroshilov a2ca8ecb8f mwl8k: don't return zero on failure paths in mwl8k_probe[_hw]()
If pci_iomap() fails in mwl8k_probe(), it breaks off initialization,
deallocates all resources, but returns zero.
There is a similar issue when priv->rxd_ops is NULL in mwl8k_probe_hw().

The patch adds proper error code return values.

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>
2013-01-22 16:01:30 -05:00
..
2012-12-07 23:13:36 +01:00
2012-12-17 17:15:13 -08:00
2012-12-18 15:19:06 +10:30
2013-01-13 23:22:09 +01:00
2012-12-17 17:15:14 -08:00