Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158
b: refs/heads/master
c: 24239af
h: refs/heads/master
v: v3
  • Loading branch information
Sean Hefty authored and Linus Torvalds committed Apr 16, 2005
1 parent 1563d1c commit 74338ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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: b1ed8dab9486ecc109b74d3941051155cb07a05a
refs/heads/master: 24239aff4e25cba2d068b2c6b8e739257351c15d
3 changes: 2 additions & 1 deletion trunk/drivers/infiniband/core/mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,8 @@ static void ib_mad_recv_done_handler(struct ib_mad_port_private *port_priv,
DMA_FROM_DEVICE);

/* Setup MAD receive work completion from "normal" work completion */
recv->header.recv_wc.wc = wc;
recv->header.wc = *wc;
recv->header.recv_wc.wc = &recv->header.wc;
recv->header.recv_wc.mad_len = sizeof(struct ib_mad);
recv->header.recv_wc.recv_buf.mad = &recv->mad.mad;
recv->header.recv_wc.recv_buf.grh = &recv->grh;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/infiniband/core/mad_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ struct ib_mad_list_head {
struct ib_mad_private_header {
struct ib_mad_list_head mad_list;
struct ib_mad_recv_wc recv_wc;
struct ib_wc wc;
DECLARE_PCI_UNMAP_ADDR(mapping)
} __attribute__ ((packed));

Expand Down

0 comments on commit 74338ad

Please sign in to comment.