Commit b18fe477 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by David S. Miller

drivers/net/sunvnet.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 3b8dff36
...@@ -1062,10 +1062,7 @@ static struct vnet * __devinit vnet_new(const u64 *local_mac) ...@@ -1062,10 +1062,7 @@ static struct vnet * __devinit vnet_new(const u64 *local_mac)
goto err_out_free_dev; goto err_out_free_dev;
} }
printk(KERN_INFO "%s: Sun LDOM vnet ", dev->name); printk(KERN_INFO "%s: Sun LDOM vnet %pM\n", dev->name, dev->dev_addr);
for (i = 0; i < 6; i++)
printk("%2.2x%c", dev->dev_addr[i], i == 5 ? '\n' : ':');
list_add(&vp->list, &vnet_list); list_add(&vp->list, &vnet_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment