mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
qed: iWARP - fix uninitialized callback
[ Upstream commit43cf40d93f] Fix uninitialized variable warning by static checker. Fixes:ae3488ff37("qed: Add ll2 connection for processing unaligned MPA packets") 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c8573aa696
commit
011b271358
@@ -2641,6 +2641,7 @@ qed_iwarp_ll2_start(struct qed_hwfn *p_hwfn,
|
||||
cbs.rx_release_cb = qed_iwarp_ll2_rel_rx_pkt;
|
||||
cbs.tx_comp_cb = qed_iwarp_ll2_comp_tx_pkt;
|
||||
cbs.tx_release_cb = qed_iwarp_ll2_rel_tx_pkt;
|
||||
cbs.slowpath_cb = NULL;
|
||||
cbs.cookie = p_hwfn;
|
||||
|
||||
memset(&data, 0, sizeof(data));
|
||||
|
||||
Reference in New Issue
Block a user