net: fix definition of netdev_for_each_mc_addr()
authorPavel Roskin <proski@gnu.org>
Wed, 7 Apr 2010 23:40:09 +0000 (16:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2010 23:40:09 +0000 (16:40 -0700)
The first argument should be called ha, not mclist.  All callers use the
name "ha", but if they used a different name, there would be a compile
error.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h

index a343a21..d1a21b5 100644 (file)
@@ -260,7 +260,7 @@ struct netdev_hw_addr_list {
 
 #define netdev_mc_count(dev) netdev_hw_addr_list_count(&(dev)->mc)
 #define netdev_mc_empty(dev) netdev_hw_addr_list_empty(&(dev)->mc)
-#define netdev_for_each_mc_addr(mclist, dev) \
+#define netdev_for_each_mc_addr(ha, dev) \
        netdev_hw_addr_list_for_each(ha, &(dev)->mc)
 
 struct hh_cache {