diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-28 00:47:26 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-28 00:47:26 (GMT) |
commit | 7c510e4b730a92cecf94ada45c989d8be0200d47 (patch) | |
tree | 61f1926964c580946367588602a8eb039561f077 /arch/sparc64/kernel/idprom.c | |
parent | e174961ca1a0b28f7abf0be47973ad57cb74e5f0 (diff) | |
download | linux-fsl-qoriq-7c510e4b730a92cecf94ada45c989d8be0200d47.tar.xz |
net: convert more to %pM
A number of places still use %02x:...:%02x because it's
in debug statements or for no real reason. Make a few
of them use %pM.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/idprom.c')
-rw-r--r-- | arch/sparc64/kernel/idprom.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/idprom.c b/arch/sparc64/kernel/idprom.c index 5b45a80..a62ff83 100644 --- a/arch/sparc64/kernel/idprom.c +++ b/arch/sparc64/kernel/idprom.c @@ -42,8 +42,5 @@ void __init idprom_init(void) idprom->id_cksum, calc_idprom_cksum(idprom)); } - printk("Ethernet address: %02x:%02x:%02x:%02x:%02x:%02x\n", - idprom->id_ethaddr[0], idprom->id_ethaddr[1], - idprom->id_ethaddr[2], idprom->id_ethaddr[3], - idprom->id_ethaddr[4], idprom->id_ethaddr[5]); + printk("Ethernet address: %pM\n", idprom->id_ethaddr); } |