aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge/myri10ge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
-rw-r--r--drivers/net/myri10ge/myri10ge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 1d14a8b05fa0..aae2ddb5d827 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -3035,7 +3035,7 @@ static void myri10ge_set_multicast_list(struct net_device *dev)
3035 } 3035 }
3036 3036
3037 /* Walk the multicast list, and add each address */ 3037 /* Walk the multicast list, and add each address */
3038 for (mc_list = dev->mc_list; mc_list != NULL; mc_list = mc_list->next) { 3038 netdev_for_each_mc_addr(mc_list, dev) {
3039 memcpy(data, &mc_list->dmi_addr, 6); 3039 memcpy(data, &mc_list->dmi_addr, 6);
3040 cmd.data0 = ntohl(data[0]); 3040 cmd.data0 = ntohl(data[0]);
3041 cmd.data1 = ntohl(data[1]); 3041 cmd.data1 = ntohl(data[1]);