Skip to contentSkip to conversation

pcnet32: Use print_mac

PATCH New Don Fry 1 participant 1 message Feb 8, 2008

Subsystems (2)
lore
Share & tools
lore

Don Fry

author
#0 lore raw

PATCH 1/1 pcnet32: Use print_mac

---
Originally sent by Joe Dec 14, 2007
Tested by Don on amd_64

drivers/net/pcnet32.c renamed from drivers/net/orig.pcnet32.c +2 -2
@@ -1774,8 +1774,8 @@ pcnet32_probe1(unsigned long ioaddr, int
 		memset(dev->dev_addr, 0, sizeof(dev->dev_addr));
 
 	if (pcnet32_debug & NETIF_MSG_PROBE) {
-		for (i = 0; i < 6; i++)
-			printk(" %2.2x", dev->dev_addr[i]);
+		DECLARE_MAC_BUF(mac);
+		printk(" %s", print_mac(mac, dev->dev_addr));
 
 		/* Version 0x2623 and 0x2624 */
 		if (((chip_version + 1) & 0xfffe) == 0x2624) {