summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2010-04-07 23:40:09 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-04-07 23:40:09 (GMT)
commit18e225f257663c59ff9d4482f07ffd06361fc2ec (patch)
tree1e131d82de1a07488272d5724a4e641d6a466345 /include
parent8e4795605d1e1b39113818ad7c147b8a867a1f6a (diff)
downloadlinux-18e225f257663c59ff9d4482f07ffd06361fc2ec.tar.xz
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>
Diffstat (limited to 'include')
-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 a343a21..d1a21b5 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 {