Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37174
b: refs/heads/master
c: ee30cb5
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Sep 28, 2006
1 parent 86518dd commit 1b7e073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 44334bd97e76662c5f40c629357e6acc4dee3e8a
refs/heads/master: ee30cb5b0b65392843cc3beaba48160ee4a3764e
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/hw/amso1100/c2_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,10 @@ static struct ib_mr *c2_reg_phys_mr(struct ib_pd *ib_pd,
}

mr = kmalloc(sizeof(*mr), GFP_KERNEL);
if (!mr)
if (!mr) {
vfree(page_list);
return ERR_PTR(-ENOMEM);
}

mr->pd = to_c2pd(ib_pd);
pr_debug("%s - page shift %d, pbl_depth %d, total_len %u, "
Expand Down

0 comments on commit 1b7e073

Please sign in to comment.