diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2009-12-30 05:07:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-30 05:07:27 +0100 |
commit | b18fe4777f1cf7095fbe78652b72c076e300eaee (patch) | |
tree | 0df7f538c86cb3860a31107e2ebf96e79cc6e1b3 /drivers/net/sunvnet.c | |
parent | drivers/net/usb/catc.c: use %pM to shown MAC address (diff) | |
download | linux-b18fe4777f1cf7095fbe78652b72c076e300eaee.tar.xz linux-b18fe4777f1cf7095fbe78652b72c076e300eaee.zip |
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) 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); |