diff options
author | Eugene Teo <eugeneteo@kernel.sg> | 2007-07-31 03:38:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 18:39:39 -0400 |
commit | 07a304603cd0133468e3a153f4fe78b02733d0db (patch) | |
tree | d53d4f8543d0328bb40b46a4dfce9878a4cb7d03 | |
parent | 135db3eb995e68b5cd2fb03377be7cffd9743d6f (diff) |
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 <eugeneteo@kernel.sg>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/i386/kernel/apm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/apm.c b/arch/i386/kernel/apm.c index 47001d50a083..f02a8aca826b 100644 --- a/arch/i386/kernel/apm.c +++ b/arch/i386/kernel/apm.c | |||
@@ -2235,7 +2235,7 @@ static int __init apm_init(void) | |||
2235 | apm_info.bios.cseg_16_len = 0; /* 64k */ | 2235 | apm_info.bios.cseg_16_len = 0; /* 64k */ |
2236 | 2236 | ||
2237 | if (debug) { | 2237 | if (debug) { |
2238 | printk(KERN_INFO "apm: entry %x:%lx cseg16 %x dseg %x", | 2238 | printk(KERN_INFO "apm: entry %x:%x cseg16 %x dseg %x", |
2239 | apm_info.bios.cseg, apm_info.bios.offset, | 2239 | apm_info.bios.cseg, apm_info.bios.offset, |
2240 | apm_info.bios.cseg_16, apm_info.bios.dseg); | 2240 | apm_info.bios.cseg_16, apm_info.bios.dseg); |
2241 | if (apm_info.bios.version > 0x100) | 2241 | if (apm_info.bios.version > 0x100) |