diff options
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_ud.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_ud.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_ud.c b/drivers/infiniband/hw/qib/qib_ud.c index aaf7039f8ed2..26243b722b5e 100644 --- a/drivers/infiniband/hw/qib/qib_ud.c +++ b/drivers/infiniband/hw/qib/qib_ud.c | |||
@@ -127,7 +127,7 @@ static void qib_ud_loopback(struct qib_qp *sqp, struct qib_swqe *swqe) | |||
127 | * present on the wire. | 127 | * present on the wire. |
128 | */ | 128 | */ |
129 | length = swqe->length; | 129 | length = swqe->length; |
130 | memset(&wc, 0, sizeof wc); | 130 | memset(&wc, 0, sizeof(wc)); |
131 | wc.byte_len = length + sizeof(struct ib_grh); | 131 | wc.byte_len = length + sizeof(struct ib_grh); |
132 | 132 | ||
133 | if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { | 133 | if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { |