OpenCloudOS-Kernel/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
..
Makefile
atl1.c net: atheros: atl1: use offset_in_page() macro 2017-04-24 13:58:01 -04:00
atl1.h atl1: update statistics code 2014-01-14 17:18:06 -08:00
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 net: vlan: rename NETIF_F_HW_VLAN_* feature flags to NETIF_F_HW_VLAN_CTAG_* 2013-04-19 14:45:26 -04:00
atlx.h atlx: Use ETH_ALEN 2012-03-19 16:53:08 -04:00