diff options
author | Bernhard Walle <bwalle@suse.de> | 2008-11-26 10:00:52 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-11-28 14:00:09 +0900 |
commit | df0878e64e92d403c4e2e5604cd81d6d1baff169 (patch) | |
tree | 2f1d9a295531cc49f1780c81642cba0b00f4ae37 | |
parent | 73a97629eab98f06b2b1a707e9b310d5fd9f9520 (diff) |
Fix compile warnings in get_memory_ranges()
This patch fixes:
kexec/arch/i386/kexec-x86-common.c: In function ‘get_memory_ranges’:
kexec/arch/i386/kexec-x86-common.c:189: \
warning: passing argument 2 of ‘parse_iomem_single’ from incompatible pointer type
kexec/arch/i386/kexec-x86-common.c:189: \
warning: passing argument 3 of ‘parse_iomem_single’ from incompatible pointer type
Yes, that was my own code. :-(
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/i386/kexec-x86-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/i386/kexec-x86-common.c b/kexec/arch/i386/kexec-x86-common.c index 1453780..a468272 100644 --- a/kexec/arch/i386/kexec-x86-common.c +++ b/kexec/arch/i386/kexec-x86-common.c @@ -184,7 +184,7 @@ int get_memory_ranges(struct memory_range **range, int *ranges, */ if ((kexec_flags & KEXEC_ON_CRASH) && !(kexec_flags & KEXEC_PRESERVE_CONTEXT)) { - unsigned long long start, end; + uint64_t start, end; ret = parse_iomem_single("Crash kernel\n", &start, &end); if (ret != 0) { |