Skip to content

Commit

Permalink
drivers/net/sunvnet.c: use %pM to shown MAC address
Browse files Browse the repository at this point in the history
Use the %pM kernel extension to display the MAC address.

Signed-off-by: H Hartley Sweeten <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
bigguiness authored and davem330 committed Dec 30, 2009
1 parent 3b8dff3 commit b18fe47
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/net/sunvnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b18fe47

Please sign in to comment.