Skip to content
Commit e8904dc5 authored by Jesper Juhl's avatar Jesper Juhl Committed by Nicholas Bellinger
Browse files

iscsi-target: Fix up a few assignments



A statement such as
  struct iscsi_node_attrib *na = na = iscsit_tpg_get_node_attrib(sess);
has undefined behaviour since there are two assignments to 'na', strictly
speaking (the order in which side-effects from the assignments take place
is undefined since there's no intervening sequence point), and it looks
unintentional in any case.

Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent f8d48ae5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment