Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88548
b: refs/heads/master
c: 9285faa
h: refs/heads/master
v: v3
  • Loading branch information
Tom Tucker authored and Roland Dreier committed Apr 17, 2008
1 parent e8804af commit f5c4883
Show file tree
Hide file tree
Showing 3 changed files with 8 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: bbf8eed1a0f8949f7385146624f736f829992a70
refs/heads/master: 9285faa1e7c8ffcc8901c40f6e1cc06d93e92431
4 changes: 2 additions & 2 deletions trunk/drivers/infiniband/hw/amso1100/c2_cq.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ void c2_free_cq(struct c2_dev *c2dev, struct c2_cq *cq)
goto bail1;

reply = (struct c2wr_cq_destroy_rep *) (unsigned long) (vq_req->reply_msg);

vq_repbuf_free(c2dev, reply);
if (reply)
vq_repbuf_free(c2dev, reply);
bail1:
vq_req_free(c2dev, vq_req);
bail0:
Expand Down
6 changes: 5 additions & 1 deletion trunk/drivers/infiniband/hw/amso1100/c2_intr.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,11 @@ static void handle_vq(struct c2_dev *c2dev, u32 mq_index)
return;
}

err = c2_errno(reply_msg);
if (reply_msg)
err = c2_errno(reply_msg);
else
err = -ENOMEM;

if (!err) switch (req->event) {
case IW_CM_EVENT_ESTABLISHED:
c2_set_qp_state(req->qp,
Expand Down

0 comments on commit f5c4883

Please sign in to comment.