Commit b3028cdc1859adf371f9457862e466f0e67f0b10
Committed by
Jeff Garzik
1 parent
232c564088
Exists in
master
and in
7 other branches
pcnet32: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Don Fry <pcnet32@verizon.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/net/pcnet32.c
... | ... | @@ -1778,8 +1778,8 @@ |
1778 | 1778 | memset(dev->dev_addr, 0, sizeof(dev->dev_addr)); |
1779 | 1779 | |
1780 | 1780 | if (pcnet32_debug & NETIF_MSG_PROBE) { |
1781 | - for (i = 0; i < 6; i++) | |
1782 | - printk(" %2.2x", dev->dev_addr[i]); | |
1781 | + DECLARE_MAC_BUF(mac); | |
1782 | + printk(" %s", print_mac(mac, dev->dev_addr)); | |
1783 | 1783 | |
1784 | 1784 | /* Version 0x2623 and 0x2624 */ |
1785 | 1785 | if (((chip_version + 1) & 0xfffe) == 0x2624) { |