diff options
author | Mao Wenan <maowenan@huawei.com> | 2019-02-22 14:57:23 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-23 13:47:13 -0800 |
commit | 4593403fa516a5a4cffe6883c5062d60932cbfbe (patch) | |
tree | ea7c6861c7b594ae3ad5d1fc67109c75830f1e11 /tools/testing/selftests/net | |
parent | net: phy: marvell10g: Fix Multi-G advertisement to only advertise 10G (diff) | |
download | linux-dev-4593403fa516a5a4cffe6883c5062d60932cbfbe.tar.xz linux-dev-4593403fa516a5a4cffe6883c5062d60932cbfbe.zip |
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>
Diffstat (limited to 'tools/testing/selftests/net')
0 files changed, 0 insertions, 0 deletions