mirror_ubuntu-kernels/drivers/net/ethernet/atheros/atlx
Mao Wenan 4593403fa5 net: set static variable an initial value in atl2_probe()
cards_found is a static variable, but when it enters atl2_probe(),
cards_found is set to zero, the value is not consistent with last probe,
so next behavior is not our expect.

Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-23 13:47:13 -08:00
..
atl1.c atl1: remove set but not used variable 'advertising' 2018-09-19 23:10:07 -07:00
atl1.h atl1: update statistics code 2014-01-14 17:18:06 -08:00
atl2.c net: set static variable an initial value in atl2_probe() 2019-02-23 13:47:13 -08: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
Makefile