[PATCH][2.5] small fix for printk KERN_WARNING in mpparse

Zwane Mwaikambo (zwane@linuxpower.ca)
Sun, 6 Apr 2003 06:58:24 -0400 (EDT)


before:
OEM ID: IBM NUMA Product ID: SBB <6>Found an OEM MPC table at 601320 - parsing it ...

after:
OEM ID: IBM NUMA Product ID: SBB Found an OEM MPC table at 00601320 - parsing it ...

Index: linux-2.5.66/arch/i386/kernel/mpparse.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.66/arch/i386/kernel/mpparse.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 mpparse.c
--- linux-2.5.66/arch/i386/kernel/mpparse.c 24 Mar 2003 23:40:27 -0000 1.1.1.1
+++ linux-2.5.66/arch/i386/kernel/mpparse.c 6 Apr 2003 10:56:09 -0000
@@ -295,7 +295,7 @@ static void __init smp_read_mpc_oem(stru
unsigned char *oemptr = ((unsigned char *)oemtable)+count;

mpc_record = 0;
- printk(KERN_INFO "Found an OEM MPC table at %8p - parsing it ... \n", oemtable);
+ printk("Found an OEM MPC table at %p - parsing it ... \n", oemtable);
if (memcmp(oemtable->oem_signature,MPC_OEM_SIGNATURE,4))
{
printk(KERN_WARNING "SMP mpc oemtable: bad signature [%c%c%c%c]!\n",

-- 
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/