summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMao Wenan <maowenan@huawei.com>2019-02-22 14:57:23 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-23 08:44:34 +0100
commit8bbb2ce3da911a527e4c60d9a5a0003f4c6bac70 (patch)
treeb203983f9154c0b73419b5a5cb7a2c20de68243d /include/linux
parent8e91a0b4d5f1c5eebbc9aabb54e366bb96808708 (diff)
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions