Skip to content

Commit

Permalink
net: fix definition of netdev_for_each_mc_addr()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Roskin authored and David S. Miller committed Apr 7, 2010
1 parent 8e47956 commit 18e225f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 18e225f

Please sign in to comment.