Message ID | 20160104031927.GC329@phlsvsds.ph.intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/infiniband/core/mad.c b/drivers/infiniband/core/mad.c index e0859e515b47..2840f27a18a0 100644 --- a/drivers/infiniband/core/mad.c +++ b/drivers/infiniband/core/mad.c @@ -2734,7 +2734,7 @@ static void local_completions(struct work_struct *work) * before request * */ build_smp_wc(recv_mad_agent->agent.qp, - (unsigned long) &local->mad_send_wr->send_buf, + local->mad_send_wr->send_wr.wr.wr_id, be16_to_cpu(IB_LID_PERMISSIVE), local->mad_send_wr->send_wr.pkey_index, recv_mad_agent->agent.port_num, &wc);