On Mon, Apr 13, 2015 at 02:25:16PM +0200, Michael Wang wrote: > > Use raw management helpers to reform IB-ulp ipoib. > > Cc: Steve Wise <[email protected]> > Cc: Tom Talpey <[email protected]> > Cc: Jason Gunthorpe <[email protected]> > Cc: Doug Ledford <[email protected]> > Cc: Ira Weiny <[email protected]> > Cc: Sean Hefty <[email protected]> > Signed-off-by: Michael Wang <[email protected]> > --- > drivers/infiniband/ulp/ipoib/ipoib_main.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c > b/drivers/infiniband/ulp/ipoib/ipoib_main.c > index 58b5aa3..97372b1 100644 > --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c > +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c > @@ -1654,9 +1654,7 @@ static void ipoib_add_one(struct ib_device *device) > struct net_device *dev; > struct ipoib_dev_priv *priv; > int s, e, p; > - > - if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) > - return; > + int count = 0;
Same comment as before. rdma_tech_ib_dev(device) Ira -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

