summaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi/iscsi_target_device.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <der.herr@hofr.at>2015-01-16 12:20:17 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2015-01-20 15:48:17 -0800
commitecc3f3edbfb65e7706d704c5aac0f7bd60df93de (patch)
tree727e8f294a1756d502ed8fd1669c4b9dce3737b2 /drivers/target/iscsi/iscsi_target_device.c
parent5cdf5a87a2b80b913499281384112a281e02193a (diff)
downloadtalos-op-linux-ecc3f3edbfb65e7706d704c5aac0f7bd60df93de.tar.gz
talos-op-linux-ecc3f3edbfb65e7706d704c5aac0f7bd60df93de.zip
ib_srpt: wait_for_completion_timeout does not return negative status
This patch changes srpt_close_session() to properly use an unsigned long for wait_for_completion_timeout()'s return value, and to update WARN_ON() to only trigger for a zero return. Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_device.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud