projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e14eab
)
iser-target: Fix smatch warning
author
Sagi Grimberg
<sagig@mellanox.com>
Fri, 3 Oct 2014 04:40:34 +0000
(21:40 -0700)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Fri, 3 Oct 2014 18:16:11 +0000
(11:16 -0700)
Unused return value from down_interruptible
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/isert/ib_isert.c
b/drivers/infiniband/ulp/isert/ib_isert.c
index d4c7928a0f36143844f3ca0b4735f9c22a1c148a..40969b683fdd60637b98e711ff79c1f544b3dbf2 100644
(file)
--- a/
drivers/infiniband/ulp/isert/ib_isert.c
+++ b/
drivers/infiniband/ulp/isert/ib_isert.c
@@
-3152,7
+3152,7
@@
isert_accept_np(struct iscsi_np *np, struct iscsi_conn *conn)
accept_wait:
ret = down_interruptible(&isert_np->np_sem);
- if (max_accept > 5)
+ if (
ret ||
max_accept > 5)
return -ENODEV;
spin_lock_bh(&np->np_thread_lock);