diff options
Diffstat (limited to 'drivers/net/ibm_newemac')
-rw-r--r-- | drivers/net/ibm_newemac/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index b75d27e82a3d..fb0ac6d7c040 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
@@ -395,7 +395,7 @@ static void emac_hash_mc(struct emac_instance *dev) | |||
395 | 395 | ||
396 | memset(gaht_temp, 0, sizeof (gaht_temp)); | 396 | memset(gaht_temp, 0, sizeof (gaht_temp)); |
397 | 397 | ||
398 | for (dmi = dev->ndev->mc_list; dmi; dmi = dmi->next) { | 398 | netdev_for_each_mc_addr(dmi, dev->ndev) { |
399 | int slot, reg, mask; | 399 | int slot, reg, mask; |
400 | DBG2(dev, "mc %pM" NL, dmi->dmi_addr); | 400 | DBG2(dev, "mc %pM" NL, dmi->dmi_addr); |
401 | 401 | ||