diff options
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.c')
-rw-r--r-- | drivers/infiniband/hw/nes/nes.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c index b046262ed638..c0671ad7de82 100644 --- a/drivers/infiniband/hw/nes/nes.c +++ b/drivers/infiniband/hw/nes/nes.c | |||
@@ -353,13 +353,11 @@ struct ib_qp *nes_get_qp(struct ib_device *device, int qpn) | |||
353 | */ | 353 | */ |
354 | static void nes_print_macaddr(struct net_device *netdev) | 354 | static void nes_print_macaddr(struct net_device *netdev) |
355 | { | 355 | { |
356 | nes_debug(NES_DBG_INIT, "%s: MAC %02X:%02X:%02X:%02X:%02X:%02X, IRQ %u\n", | 356 | DECLARE_MAC_BUF(mac); |
357 | netdev->name, | ||
358 | netdev->dev_addr[0], netdev->dev_addr[1], netdev->dev_addr[2], | ||
359 | netdev->dev_addr[3], netdev->dev_addr[4], netdev->dev_addr[5], | ||
360 | netdev->irq); | ||
361 | } | ||
362 | 357 | ||
358 | nes_debug(NES_DBG_INIT, "%s: %s, IRQ %u\n", | ||
359 | netdev->name, print_mac(mac, netdev->dev_addr), netdev->irq); | ||
360 | } | ||
363 | 361 | ||
364 | /** | 362 | /** |
365 | * nes_interrupt - handle interrupts | 363 | * nes_interrupt - handle interrupts |