diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2009-12-29 23:07:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-29 23:07:27 -0500 |
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 bc74db0d12f3..d65764ea1d83 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) | |||
1062 | goto err_out_free_dev; | 1062 | goto err_out_free_dev; |
1063 | } | 1063 | } |
1064 | 1064 | ||
1065 | printk(KERN_INFO "%s: Sun LDOM vnet ", dev->name); | 1065 | printk(KERN_INFO "%s: Sun LDOM vnet %pM\n", dev->name, dev->dev_addr); |
1066 | |||
1067 | for (i = 0; i < 6; i++) | ||
1068 | printk("%2.2x%c", dev->dev_addr[i], i == 5 ? '\n' : ':'); | ||
1069 | 1066 | ||
1070 | list_add(&vp->list, &vnet_list); | 1067 | list_add(&vp->list, &vnet_list); |
1071 | 1068 | ||