kernel/drivers/infiniband/hw/mthca/mthca_qp.c
.. .. @@ -1390,7 +1390,7 @@ 1390 1390 if (mthca_array_get(&dev->qp_table.qp, mqpn)) 1391 1391 err = -EBUSY; 1392 1392 else 1393 - mthca_array_set(&dev->qp_table.qp, mqpn, qp->sqp);1393 + mthca_array_set(&dev->qp_table.qp, mqpn, qp);1394 1394 spin_unlock_irq(&dev->qp_table.lock); 1395 1395 1396 1396 if (err)