aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLeonid Arsh <leonida@voltaire.com>2006-03-24 18:47:25 -0500
committerRoland Dreier <rolandd@cisco.com>2006-03-24 18:47:25 -0500
commit6f633c8d69415aabbccfcc494008e8e1300a98c1 (patch)
tree8c3ad3009e6c4e19b4670c883342a047d511e434 /drivers
parentb2fd16b4ff2508ac16ae994f4bcd941f97754c00 (diff)
IPoIB: Pass correct pointer when flushing child interfaces
ipoib_ib_dev_flush() should get passed cpriv->dev, not &cpriv->dev. Signed-off-by: Leonid Arsh <leonida@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_ib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ib.c b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
index a1f5a05f2f36..f2be500f62c8 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
@@ -605,7 +605,7 @@ void ipoib_ib_dev_flush(void *_dev)
605 605
606 /* Flush any child interfaces too */ 606 /* Flush any child interfaces too */
607 list_for_each_entry(cpriv, &priv->child_intfs, list) 607 list_for_each_entry(cpriv, &priv->child_intfs, list)
608 ipoib_ib_dev_flush(&cpriv->dev); 608 ipoib_ib_dev_flush(cpriv->dev);
609 609
610 mutex_unlock(&priv->vlan_mutex); 610 mutex_unlock(&priv->vlan_mutex);
611} 611}