diff options
author | Leonid Arsh <leonida@voltaire.com> | 2006-03-25 00:47:25 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-25 00:47:25 +0100 |
commit | 6f633c8d69415aabbccfcc494008e8e1300a98c1 (patch) | |
tree | 8c3ad3009e6c4e19b4670c883342a047d511e434 /drivers/infiniband/ulp/ipoib | |
parent | [PATCH] net: ne2k.c won't compile if pci_clone_list is const (diff) | |
download | linux-6f633c8d69415aabbccfcc494008e8e1300a98c1.tar.xz linux-6f633c8d69415aabbccfcc494008e8e1300a98c1.zip |
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/infiniband/ulp/ipoib')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_ib.c | 2 |
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) /* Flush any child interfaces too */ list_for_each_entry(cpriv, &priv->child_intfs, list) - ipoib_ib_dev_flush(&cpriv->dev); + ipoib_ib_dev_flush(cpriv->dev); mutex_unlock(&priv->vlan_mutex); } |