aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2010-04-07 19:40:09 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-07 19:40:09 -0400
commit18e225f257663c59ff9d4482f07ffd06361fc2ec (patch)
tree1e131d82de1a07488272d5724a4e641d6a466345 /include/linux/netdevice.h
parent8e4795605d1e1b39113818ad7c147b8a867a1f6a (diff)
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/linux/netdevice.h')
-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 a343a21ba8b9..d1a21b576a40 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -260,7 +260,7 @@ struct netdev_hw_addr_list {
260 260
261#define netdev_mc_count(dev) netdev_hw_addr_list_count(&(dev)->mc) 261#define netdev_mc_count(dev) netdev_hw_addr_list_count(&(dev)->mc)
262#define netdev_mc_empty(dev) netdev_hw_addr_list_empty(&(dev)->mc) 262#define netdev_mc_empty(dev) netdev_hw_addr_list_empty(&(dev)->mc)
263#define netdev_for_each_mc_addr(mclist, dev) \ 263#define netdev_for_each_mc_addr(ha, dev) \
264 netdev_hw_addr_list_for_each(ha, &(dev)->mc) 264 netdev_hw_addr_list_for_each(ha, &(dev)->mc)
265 265
266struct hh_cache { 266struct hh_cache {