From: Eugene Teo Date: Tue, 31 Jul 2007 07:38:15 +0000 (-0700) Subject: arch/i386/kernel/apm.c: apm_init() warning fix X-Git-Tag: v2.6.23-rc2~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07a304603cd0133468e3a153f4fe78b02733d0db;p=profile%2Fivi%2Fkernel-x86-ivi.git arch/i386/kernel/apm.c: apm_init() warning fix arch/i386/kernel/apm.c: In function 'apm_init': arch/i386/kernel/apm.c:2240: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'u32' apm_info.bios.offset is of type 'u32'. Signed-off-by: Eugene Teo Acked-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c index 47001d5..f02a8ac 100644 --- a/arch/i386/kernel/apm.c +++ b/arch/i386/kernel/apm.c @@ -2235,7 +2235,7 @@ static int __init apm_init(void) apm_info.bios.cseg_16_len = 0; /* 64k */ if (debug) { - printk(KERN_INFO "apm: entry %x:%lx cseg16 %x dseg %x", + printk(KERN_INFO "apm: entry %x:%x cseg16 %x dseg %x", apm_info.bios.cseg, apm_info.bios.offset, apm_info.bios.cseg_16, apm_info.bios.dseg); if (apm_info.bios.version > 0x100)