Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27637
b: refs/heads/master
c: 77f7601
h: refs/heads/master
i:
  27635: 8c2e2f8
v: v3
  • Loading branch information
Ganapathi CH authored and Roland Dreier committed Jun 18, 2006
1 parent 7908543 commit b3ac05f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: ca222c6b2c48e1e0be330a55611ba394251330cb
refs/heads/master: 77f76013e3ffda605b20184db5862ce1efcb6f5a
6 changes: 4 additions & 2 deletions trunk/drivers/infiniband/core/uverbs_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ ssize_t ib_uverbs_get_context(struct ib_uverbs_file *file,
in_len - sizeof cmd, out_len - sizeof resp);

ucontext = ibdev->alloc_ucontext(ibdev, &udata);
if (IS_ERR(ucontext))
return PTR_ERR(file->ucontext);
if (IS_ERR(ucontext)) {
ret = PTR_ERR(file->ucontext);
goto err;
}

ucontext->device = ibdev;
INIT_LIST_HEAD(&ucontext->pd_list);
Expand Down

0 comments on commit b3ac05f

Please sign in to comment.