Files
linux/drivers/net
Mao Wenan d0b6e2bfa5 net: set static variable an initial value in atl2_probe()
[ Upstream commit 4593403fa5 ]

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>
2023-05-15 12:05:40 +09:00
..
2016-06-15 22:06:06 -07:00
2017-12-09 22:01:54 +01:00
2016-05-09 00:00:28 -04:00
2023-05-15 11:50:04 +09:00
2018-03-22 09:17:57 +01:00