Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174
b: refs/heads/master
c: b635fa2
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier authored and Linus Torvalds committed Apr 16, 2005
1 parent b113843 commit 63a9695
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: 4ad81174edfc22528b845a27620db7542c1ce9a6
refs/heads/master: b635fa215192a02e58e8e30d5d927435aa108192
6 changes: 4 additions & 2 deletions trunk/drivers/infiniband/hw/mthca/mthca_cq.c
Original file line number Diff line number Diff line change
Expand Up @@ -817,10 +817,12 @@ int mthca_init_cq(struct mthca_dev *dev, int nent,
err_out_mailbox:
kfree(mailbox);

mthca_free_db(dev, MTHCA_DB_TYPE_CQ_ARM, cq->arm_db_index);
if (dev->hca_type == ARBEL_NATIVE)
mthca_free_db(dev, MTHCA_DB_TYPE_CQ_ARM, cq->arm_db_index);

err_out_ci:
mthca_free_db(dev, MTHCA_DB_TYPE_CQ_SET_CI, cq->set_ci_db_index);
if (dev->hca_type == ARBEL_NATIVE)
mthca_free_db(dev, MTHCA_DB_TYPE_CQ_SET_CI, cq->set_ci_db_index);

err_out_icm:
mthca_table_put(dev, dev->cq_table.table, cq->cqn);
Expand Down

0 comments on commit 63a9695

Please sign in to comment.