diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2009-12-29 20:07:27 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-29 20:07:27 -0800 |
commit | b18fe4777f1cf7095fbe78652b72c076e300eaee (patch) | |
tree | 0df7f538c86cb3860a31107e2ebf96e79cc6e1b3 /drivers/net/sunvnet.c | |
parent | 3b8dff3622a813d093a8601dc90fb6f12183f87c (diff) |
drivers/net/sunvnet.c: use %pM to shown MAC address
Use the %pM kernel extension to display the MAC address.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunvnet.c')
-rw-r--r-- | drivers/net/sunvnet.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/sunvnet.c b/drivers/net/sunvnet.c index bc74db0d12f..d65764ea1d8 100644 --- a/drivers/net/sunvnet.c +++ b/drivers/net/sunvnet.c @@ -1062,10 +1062,7 @@ static struct vnet * __devinit vnet_new(const u64 *local_mac) goto err_out_free_dev; } - printk(KERN_INFO "%s: Sun LDOM vnet ", dev->name); - - for (i = 0; i < 6; i++) - printk("%2.2x%c", dev->dev_addr[i], i == 5 ? '\n' : ':'); + printk(KERN_INFO "%s: Sun LDOM vnet %pM\n", dev->name, dev->dev_addr); list_add(&vp->list, &vnet_list); |