diff options
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 2f8864e70ca9..38b03f538e95 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -2395,6 +2395,7 @@ static void myri10ge_set_multicast_list(struct net_device *dev) | |||
2395 | struct dev_mc_list *mc_list; | 2395 | struct dev_mc_list *mc_list; |
2396 | __be32 data[2] = { 0, 0 }; | 2396 | __be32 data[2] = { 0, 0 }; |
2397 | int err; | 2397 | int err; |
2398 | DECLARE_MAC_BUF(mac); | ||
2398 | 2399 | ||
2399 | mgp = netdev_priv(dev); | 2400 | mgp = netdev_priv(dev); |
2400 | /* can be called from atomic contexts, | 2401 | /* can be called from atomic contexts, |
@@ -2442,14 +2443,8 @@ static void myri10ge_set_multicast_list(struct net_device *dev) | |||
2442 | printk(KERN_ERR "myri10ge: %s: Failed " | 2443 | printk(KERN_ERR "myri10ge: %s: Failed " |
2443 | "MXGEFW_JOIN_MULTICAST_GROUP, error status:" | 2444 | "MXGEFW_JOIN_MULTICAST_GROUP, error status:" |
2444 | "%d\t", dev->name, err); | 2445 | "%d\t", dev->name, err); |
2445 | printk(KERN_ERR "MAC %02x:%02x:%02x:%02x:%02x:%02x\n", | 2446 | printk(KERN_ERR "MAC %s\n", |
2446 | ((unsigned char *)&mc_list->dmi_addr)[0], | 2447 | print_mac(mac, mc_list->dmi_addr)); |
2447 | ((unsigned char *)&mc_list->dmi_addr)[1], | ||
2448 | ((unsigned char *)&mc_list->dmi_addr)[2], | ||
2449 | ((unsigned char *)&mc_list->dmi_addr)[3], | ||
2450 | ((unsigned char *)&mc_list->dmi_addr)[4], | ||
2451 | ((unsigned char *)&mc_list->dmi_addr)[5] | ||
2452 | ); | ||
2453 | goto abort; | 2448 | goto abort; |
2454 | } | 2449 | } |
2455 | } | 2450 | } |