OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iser-target: Fix smatch warning
[android-x86/kernel.git]
/
drivers
/
infiniband
/
ulp
/
isert
/
ib_isert.c
diff --git
a/drivers/infiniband/ulp/isert/ib_isert.c
b/drivers/infiniband/ulp/isert/ib_isert.c
index
d4c7928
..
40969b6
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);