aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/ehca_qp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_qp.c')
-rw-r--r--drivers/infiniband/hw/ehca/ehca_qp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_qp.c b/drivers/infiniband/hw/ehca/ehca_qp.c
index bfae1c228b2f..e89fdca7fa19 100644
--- a/drivers/infiniband/hw/ehca/ehca_qp.c
+++ b/drivers/infiniband/hw/ehca/ehca_qp.c
@@ -749,6 +749,8 @@ static struct ehca_qp *internal_create_qp(
749 queue2resp(&resp.ipz_squeue, &my_qp->ipz_squeue); 749 queue2resp(&resp.ipz_squeue, &my_qp->ipz_squeue);
750 if (HAS_RQ(my_qp)) 750 if (HAS_RQ(my_qp))
751 queue2resp(&resp.ipz_rqueue, &my_qp->ipz_rqueue); 751 queue2resp(&resp.ipz_rqueue, &my_qp->ipz_rqueue);
752 resp.fw_handle_ofs = (u32)
753 (my_qp->galpas.user.fw_handle & (PAGE_SIZE - 1));
752 754
753 if (ib_copy_to_udata(udata, &resp, sizeof resp)) { 755 if (ib_copy_to_udata(udata, &resp, sizeof resp)) {
754 ehca_err(pd->device, "Copy to udata failed"); 756 ehca_err(pd->device, "Copy to udata failed");