summaryrefslogtreecommitdiffstats
path: root/arch/m68k/68000/m68EZ328.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-06-15 04:01:37 +0200
committerGreg Ungerer <gerg@uclinux.org>2015-06-16 08:45:38 +0200
commit73cb9dc0cd8d220de24fe078f7eadc4945a939ef (patch)
tree86315bfc4c0d1ae33d7c4fc2ca8b85d931b9726f /arch/m68k/68000/m68EZ328.c
parentLinux 4.1-rc8 (diff)
downloadlinux-73cb9dc0cd8d220de24fe078f7eadc4945a939ef.tar.xz
linux-73cb9dc0cd8d220de24fe078f7eadc4945a939ef.zip
m68k: Use vsprintf %pM extension
Format mac addresses with the normal kernel extension. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/68000/m68EZ328.c')
-rw-r--r--arch/m68k/68000/m68EZ328.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/68000/m68EZ328.c b/arch/m68k/68000/m68EZ328.c
index 21952906e9e2..e6ab321f93f8 100644
--- a/arch/m68k/68000/m68EZ328.c
+++ b/arch/m68k/68000/m68EZ328.c
@@ -62,8 +62,7 @@ void __init config_BSP(char *command, int len)
#ifdef CONFIG_UCSIMM
printk(KERN_INFO "uCsimm serial string [%s]\n",getserialnum());
p = cs8900a_hwaddr = gethwaddr(0);
- printk(KERN_INFO "uCsimm hwaddr %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n",
- p[0], p[1], p[2], p[3], p[4], p[5]);
+ printk(KERN_INFO "uCsimm hwaddr %pM\n", p);
p = getbenv("APPEND");
if (p) strcpy(p,command);