Tziporet, Vlad,

I've included the sixth of the eight warning fix patches. Please note
that this one only applies on kernels up to and including 2.6.16.

Thanks!

Jeremy Brown

---

Move declaration up to avoid compiler warning.

Signed-off-by: John Gregor <[EMAIL PROTECTED]>

diff -r f01d968d5f18 drivers/infiniband/ulp/ipoib/ipoib_main.c
--- a/drivers/infiniband/ulp/ipoib/ipoib_main.c Mon Jun 18 15:57:12 2007 -0700
+++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c Mon Jun 18 16:04:29 2007 -0700
@@ -849,6 +849,7 @@ static void ipoib_neigh_destructor(struc
        struct ipoib_dev_priv *priv = netdev_priv(n->dev);
        unsigned long flags;
        struct ipoib_ah *ah = NULL;
+       struct ipoib_neigh *tn, *nn = NULL;
 
         if (n->dev->type != ARPHRD_INFINIBAND)
                 return;
@@ -864,7 +865,6 @@ static void ipoib_neigh_destructor(struc
                        return;
        }
 
-       struct ipoib_neigh *tn, *nn = NULL;
        spin_lock_irqsave(&ipoib_all_neigh_list_lock, flags);
        list_for_each_entry(tn, &ipoib_all_neigh_list, all_neigh_list)
                if (tn->neighbour == n) {


_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to