[PATCH] makedumpfile: add a missing return statement

Petr Tesarik ptesarik at suse.cz
Tue Aug 28 11:16:02 EDT 2012


The remap_init() function lacks a return statement when all goes well.

Signed-off-by: Petr Tesarik <ptesarik at suse.cz>

---
 arch/x86.c |    1 +
 1 file changed, 1 insertion(+)

--- a/arch/x86.c
+++ b/arch/x86.c
@@ -64,6 +64,7 @@ remap_init(void)
 	}
 
 	max_numnodes = n;
+	return TRUE;
 }
 
 int





More information about the kexec mailing list