projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b8dff3
)
drivers/net/sunvnet.c: use %pM to shown MAC address
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Wed, 30 Dec 2009 04:07:27 +0000
(20:07 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 30 Dec 2009 04:07:27 +0000
(20:07 -0800)
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>
drivers/net/sunvnet.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sunvnet.c
b/drivers/net/sunvnet.c
index bc74db0d12f37e0b015f1d6b0d099b9ed77f6bc2..d65764ea1d8310cdec7cba20bc4642587bb3320e 100644
(file)
--- 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);