summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_pscsi.c
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2012-01-15 19:33:30 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2012-01-18 08:35:57 +0000
commite8904dc5008ef92f0f62391d6557f03f921eeb32 (patch)
treeda3cdfc1e0be8166b58649840dac0d1ba0842081 /drivers/target/target_core_pscsi.c
parentf8d48ae52eeec906d7fb42485eb26a5d305bab0a (diff)
downloadlinux-e8904dc5008ef92f0f62391d6557f03f921eeb32.tar.gz
linux-e8904dc5008ef92f0f62391d6557f03f921eeb32.tar.xz
linux-e8904dc5008ef92f0f62391d6557f03f921eeb32.zip
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: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_pscsi.c')
0 files changed, 0 insertions, 0 deletions