linux/drivers/net/wireless/p54
Alexey Khoroshilov 6960af6dce p54pci: don't return zero on failure paths in p54p_probe()
If pci_set_dma_mask() or pci_set_consistent_dma_mask() fails in p54p_probe(),
it breaks off initialization, deallocates all resources, but returns zero.
Similar issue is if check for returned value of pci_resource_len() fails.

The patch implements proper error code propagation.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-01-07 15:16:59 -05:00
..
eeprom.c p54: potential signedness issue in p54_parse_rssical() 2012-12-03 13:51:59 -05:00
eeprom.h p54: parse output power table 2012-08-10 15:17:14 -04:00
fwio.c wireless: Remove casts to same type 2012-06-06 09:31:33 -07:00
Kconfig p54spi: Update kconfig help text 2011-03-07 13:51:04 -05:00
led.c
lmac.h mac80211: move TX station pointer and restructure TX 2012-07-31 16:18:39 +02:00
main.c p54: connect to 11w protected networks 2012-09-24 15:02:08 -04:00
Makefile
net2280.h
p54.h p54: only unregister ieee80211_hw when it has been registered 2012-04-09 16:07:35 -04:00
p54pci.c p54pci: don't return zero on failure paths in p54p_probe() 2013-01-07 15:16:59 -05:00
p54pci.h p54pci: convert driver to use asynchronous firmware loading 2012-08-06 14:56:33 -04:00
p54spi.c p54: remove __dev* attributes 2012-12-06 15:04:58 -05:00
p54spi.h
p54spi_eeprom.h p54spi: update sample eeprom 2011-02-14 15:52:10 -05:00
p54usb.c p54: remove __dev* attributes 2012-12-06 15:04:58 -05:00
p54usb.h p54usb: Load firmware asynchronously 2012-04-09 16:07:35 -04:00
txrx.c p54: improve TSF timestamp precision 2012-11-26 14:54:21 -05:00