aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/hw/cxgb4/qp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c
index 2c037e1746d3..5a7d368aa47a 100644
--- a/drivers/infiniband/hw/cxgb4/qp.c
+++ b/drivers/infiniband/hw/cxgb4/qp.c
@@ -436,6 +436,8 @@ static int build_rdma_send(struct t4_sq *sq, union t4_wr *wqe,
436 default: 436 default:
437 return -EINVAL; 437 return -EINVAL;
438 } 438 }
439 wqe->send.r3 = 0;
440 wqe->send.r4 = 0;
439 441
440 plen = 0; 442 plen = 0;
441 if (wr->num_sge) { 443 if (wr->num_sge) {