diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-02-22 04:22:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-22 18:45:52 -0500 |
commit | 48e2f183cb1709600012265a2e723f45a350d5fe (patch) | |
tree | 608368bda6f159342c307deca3b03998d25434c8 /drivers/net/gianfar.c | |
parent | 7a81e9f3ca712db82344ea3ab2a5879241f59c48 (diff) |
net: convert multiple drivers to use netdev_for_each_mc_addr, part4
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index c9be090485dd..6aa526ee9096 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -2867,7 +2867,7 @@ static void gfar_set_multi(struct net_device *dev) | |||
2867 | return; | 2867 | return; |
2868 | 2868 | ||
2869 | /* Parse the list, and set the appropriate bits */ | 2869 | /* Parse the list, and set the appropriate bits */ |
2870 | for(mc_ptr = dev->mc_list; mc_ptr; mc_ptr = mc_ptr->next) { | 2870 | netdev_for_each_mc_addr(mc_ptr, dev) { |
2871 | if (idx < em_num) { | 2871 | if (idx < em_num) { |
2872 | gfar_set_mac_for_addr(dev, idx, | 2872 | gfar_set_mac_for_addr(dev, idx, |
2873 | mc_ptr->dmi_addr); | 2873 | mc_ptr->dmi_addr); |