Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6152
b: refs/heads/master
c: 5dd2ce1
h: refs/heads/master
v: v3
  • Loading branch information
Hal Rosenstock authored and Roland Dreier committed Aug 27, 2005
1 parent 60583ca commit ee6b75b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 7f9f2dba729cee6ea10596ccb07447d467705b08
refs/heads/master: 5dd2ce1200f4b12687d74de89a527f99e16c344e
5 changes: 2 additions & 3 deletions trunk/drivers/infiniband/core/mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -2296,7 +2296,7 @@ static void timeout_sends(void *data)
spin_unlock_irqrestore(&mad_agent_priv->lock, flags);
}

static void ib_mad_thread_completion_handler(struct ib_cq *cq)
static void ib_mad_thread_completion_handler(struct ib_cq *cq, void *arg)
{
struct ib_mad_port_private *port_priv = cq->cq_context;

Expand Down Expand Up @@ -2576,8 +2576,7 @@ static int ib_mad_port_open(struct ib_device *device,

cq_size = (IB_MAD_QP_SEND_SIZE + IB_MAD_QP_RECV_SIZE) * 2;
port_priv->cq = ib_create_cq(port_priv->device,
(ib_comp_handler)
ib_mad_thread_completion_handler,
ib_mad_thread_completion_handler,
NULL, port_priv, cq_size);
if (IS_ERR(port_priv->cq)) {
printk(KERN_ERR PFX "Couldn't create ib_mad CQ\n");
Expand Down

0 comments on commit ee6b75b

Please sign in to comment.