Skip to contentSkip to conversation

iw_cxgb3 - dev->priv fix follow up

PATCH In review Divy Le Ray 1 participant 1 message Aug 29, 2007 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 iw_cxgb3 - dev->priv fix follow up

From: Divy Le Ray <[email protected]>

The RDMA driver sitting on top of cxgb3
now uses the exported function dev2t3cdev()
to retrieve the the t3cdev associated with
a net_device.

---

 drivers/infiniband/hw/cxgb3/cxio_hal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/infiniband/hw/cxgb3/cxio_hal.c +1 -1
index 1518b41..beb2a38 100644
@@ -916,7 +916,7 @@ int cxio_rdev_open(struct cxio_rdev *rdev_p)
 	PDBG("%s opening rnic dev %s\n", __FUNCTION__, rdev_p->dev_name);
 	memset(&rdev_p->ctrl_qp, 0, sizeof(rdev_p->ctrl_qp));
 	if (!rdev_p->t3cdev_p)
-		rdev_p->t3cdev_p = T3CDEV(netdev_p);
+		rdev_p->t3cdev_p = dev2t3cdev(netdev_p);
 	rdev_p->t3cdev_p->ulp = (void *) rdev_p;
 	err = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_GET_PARAMS,
 					 &(rdev_p->rnic_info));