summaryrefslogtreecommitdiffstats
path: root/kernel/arch/m68k/68000
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/m68k/68000')
-rw-r--r--kernel/arch/m68k/68000/m68EZ328.c3
-rw-r--r--kernel/arch/m68k/68000/m68VZ328.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/kernel/arch/m68k/68000/m68EZ328.c b/kernel/arch/m68k/68000/m68EZ328.c
index 21952906e..e6ab321f9 100644
--- a/kernel/arch/m68k/68000/m68EZ328.c
+++ b/kernel/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);
diff --git a/kernel/arch/m68k/68000/m68VZ328.c b/kernel/arch/m68k/68000/m68VZ328.c
index 0e5e5a10a..1154bdb22 100644
--- a/kernel/arch/m68k/68000/m68VZ328.c
+++ b/kernel/arch/m68k/68000/m68VZ328.c
@@ -152,8 +152,7 @@ static void __init init_hardware(char *command, int size)
printk(KERN_INFO "uCdimm serial string [%s]\n", getserialnum());
p = cs8900a_hwaddr = gethwaddr(0);
- printk(KERN_INFO "uCdimm hwaddr %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n",
- p[0], p[1], p[2], p[3], p[4], p[5]);
+ printk(KERN_INFO "uCdimm hwaddr %pM\n", p);
p = getbenv("APPEND");
if (p)
strcpy(p, command);