linux/drivers/net/ethernet/atheros/atlx
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
..
atl1.c net: atheros: atl1: use offset_in_page() macro 2017-04-24 13:58:01 -04:00
atl1.h
atl2.c net: atheros: atl2: don't return zero on failure path in atl2_probe() 2017-05-22 12:05:01 -04:00
atl2.h ethernet/atheros: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
atlx.c
atlx.h
Makefile