Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189750
b: refs/heads/master
c: 7bd9129
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Roland Dreier committed Apr 7, 2010
1 parent 6e44905 commit 19b9cd9
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 3e340c05c0def3bb68db6751299b7821c2ba0621
refs/heads/master: 7bd912998ec9cdbb0268138b6b51f28adf7865f4
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/core/cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3693,7 +3693,7 @@ static void cm_add_one(struct ib_device *ib_device)
cm_dev->device = device_create(&cm_class, &ib_device->dev,
MKDEV(0, 0), NULL,
"%s", ib_device->name);
if (IS_ERR(cm_dev->device)) {
if (!cm_dev->device) {
kfree(cm_dev);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/mlx4/mr.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ struct ib_fast_reg_page_list *mlx4_ib_alloc_fast_reg_page_list(struct ib_device
mfrpl->mapped_page_list = dma_alloc_coherent(&dev->dev->pdev->dev,
size, &mfrpl->map,
GFP_KERNEL);
if (!mfrpl->ibfrpl.page_list)
if (!mfrpl->mapped_page_list)
goto err_free;

WARN_ON(mfrpl->map & 0x3f);
Expand Down

0 comments on commit 19b9cd9

Please sign in to comment.