diff options
author | Pavel Roskin <proski@gnu.org> | 2010-04-07 16:40:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-07 16:40:09 -0700 |
commit | 18e225f257663c59ff9d4482f07ffd06361fc2ec (patch) | |
tree | 1e131d82de1a07488272d5724a4e641d6a466345 /include/linux/netdevice.h | |
parent | 8e4795605d1e1b39113818ad7c147b8a867a1f6a (diff) | |
download | kernel_samsung_espresso10-18e225f257663c59ff9d4482f07ffd06361fc2ec.zip kernel_samsung_espresso10-18e225f257663c59ff9d4482f07ffd06361fc2ec.tar.gz kernel_samsung_espresso10-18e225f257663c59ff9d4482f07ffd06361fc2ec.tar.bz2 |
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.h | 2 |
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 { |