mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
rds: ib: Fix uninitialized variable
send_flags needs to be initialized before calling rds_ib_set_wr_signal_state(). Signed-off-by: Håkon Bugge <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
d2c2490e7e
commit
e9a0b99804
1 changed files with 1 additions and 0 deletions
|
|
@ -792,6 +792,7 @@ int rds_ib_xmit_atomic(struct rds_connection *conn, struct rm_atomic_op *op)
|
|||
send->s_atomic_wr.compare_add_mask = op->op_m_fadd.nocarry_mask;
|
||||
send->s_atomic_wr.swap_mask = 0;
|
||||
}
|
||||
send->s_wr.send_flags = 0;
|
||||
nr_sig = rds_ib_set_wr_signal_state(ic, send, op->op_notify);
|
||||
send->s_atomic_wr.wr.num_sge = 1;
|
||||
send->s_atomic_wr.wr.next = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue