31 lines
994 B
Diff
31 lines
994 B
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>
|
||
|
||
---
|
||
kexec/arch/i386/kexec-x86-common.c | 2 +-
|
||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
||
--- a/kexec/arch/i386/kexec-x86-common.c
|
||
+++ b/kexec/arch/i386/kexec-x86-common.c
|
||
@@ -181,7 +181,7 @@ int get_memory_ranges(struct memory_rang
|
||
* subset of user defined values.
|
||
*/
|
||
if (kexec_flags & KEXEC_ON_CRASH) {
|
||
- unsigned long long start, end;
|
||
+ uint64_t start, end;
|
||
|
||
ret = parse_iomem_single("Crash kernel\n", &start, &end);
|
||
if (ret != 0) {
|