summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2010-04-07 16:40:09 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-07 16:40:09 -0700
commit18e225f257663c59ff9d4482f07ffd06361fc2ec (patch)
tree1e131d82de1a07488272d5724a4e641d6a466345
parent8e4795605d1e1b39113818ad7c147b8a867a1f6a (diff)
downloadlinux-3.10-18e225f257663c59ff9d4482f07ffd06361fc2ec.tar.gz
linux-3.10-18e225f257663c59ff9d4482f07ffd06361fc2ec.tar.bz2
linux-3.10-18e225f257663c59ff9d4482f07ffd06361fc2ec.zip
net: fix definition of netdev_for_each_mc_addr()
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>
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index a343a21ba8b..d1a21b576a4 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -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 {