summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_main.c
diff options
context:
space:
mode:
authorMichal Kalderon <michal.kalderon@marvell.com>2020-01-27 15:26:18 +0200
committerDavid S. Miller <davem@davemloft.net>2020-01-27 14:35:32 +0100
commit6bc82d9b7e6371673992ed5e3897cf7fb8cc4f41 (patch)
treef691227fd00e3ceaee62d0ff14405b018cb12db3 /drivers/net/ethernet/qlogic/qed/qed_main.c
parent8a52bbab39c9791480cbae86c69ad0d47f62972e (diff)
downloadlinux-6bc82d9b7e6371673992ed5e3897cf7fb8cc4f41.tar.bz2
qed: rt init valid initialization changed
The QM phase init tool can be invoked multiple times during the driver lifetime. Part of the init comes from the runtime array. The logic for setting the values did not init all values, basically assuming the runtime array was all zeroes. But if it was invoked multiple times, nobody was zeroing it after the first time. In this change we zero the runtime array right after using it. Signed-off-by: Ariel Elior <ariel.elior@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_main.c')
0 files changed, 0 insertions, 0 deletions