Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287300
b: refs/heads/master
c: 3af3363
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Roland Dreier committed Feb 3, 2012
1 parent 7f12ddd commit 3033002
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ebfded8c4b34caea450709ce467e67483fa4d8df
refs/heads/master: 3af336376f77859da84bb1156ef29d5337b316a9
6 changes: 3 additions & 3 deletions trunk/drivers/infiniband/ulp/srpt/ib_srpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2595,7 +2595,7 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id,
}

ch->sess = transport_init_session();
if (!ch->sess) {
if (IS_ERR(ch->sess)) {
rej->reason = __constant_cpu_to_be32(
SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES);
pr_debug("Failed to create session\n");
Expand Down Expand Up @@ -4009,10 +4009,10 @@ static int __init srpt_init_module(void)
goto out;
}

ret = -ENODEV;
srpt_target = target_fabric_configfs_init(THIS_MODULE, "srpt");
if (!srpt_target) {
if (IS_ERR(srpt_target)) {
printk(KERN_ERR "couldn't register\n");
ret = PTR_ERR(srpt_target);
goto out;
}

Expand Down

0 comments on commit 3033002

Please sign in to comment.