android_kernel_motorola_sm6225/drivers/net/ethernet/atheros
Mao Wenan 8cd89bf632 net: set static variable an initial value in atl2_probe()
[ Upstream commit 4593403fa516a5a4cffe6883c5062d60932cbfbe ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-23 20:09:52 +01:00
..
alx net: alx: remove redundant variable old_duplex 2018-07-04 22:39:10 +09:00
atl1c atl1c: reserve min skb headroom 2018-07-22 10:28:26 -07:00
atl1e treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
atlx net: set static variable an initial value in atl2_probe() 2019-03-23 20:09:52 +01:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00