mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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>
This commit is contained in:
parent
3b8dff3622
commit
b18fe4777f
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue