alistair23-linux/drivers/net/ethernet/atheros
Alexey Khoroshilov bd703a1524 net: atheros: atl2: don't return zero on failure path in atl2_probe()
If dma mask checks fail in atl2_probe(), it breaks off initialization,
deallocates all resources, but returns zero.

The patch adds proper error code return value and
make error code setup unified.

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-22 12:05:01 -04:00
..
alx net: alx: handle pci_alloc_irq_vectors return correctly 2017-05-05 14:52:03 -04:00
atl1c scripts/spelling.txt: add regsiter -> register spelling mistake 2017-05-08 17:15:13 -07:00
atl1e atl1e: add GRO support 2017-02-03 11:13:17 -05:00
atlx net: atheros: atl2: don't return zero on failure path in atl2_probe() 2017-05-22 12:05:01 -04:00
Kconfig
Makefile