Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa876b47 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by David S. Miller
Browse files

drivers/net/smc911x.c: use %pM to shown MAC address



Use the %pM kernel extension to display the MAC address.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b18fe477
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -2017,10 +2017,8 @@ static int __devinit smc911x_probe(struct net_device *dev)
					"set using ifconfig\n", dev->name);
		} else {
			/* Print the Ethernet address */
			printk("%s: Ethernet addr: ", dev->name);
			for (i = 0; i < 5; i++)
				printk("%2.2x:", dev->dev_addr[i]);
			printk("%2.2x\n", dev->dev_addr[5]);
			printk("%s: Ethernet addr: %pM\n",
				dev->name, dev->dev_addr);
		}

		if (lp->phy_type == 0) {