Skip to contentSkip to conversation

makedumpfile: add a missing return statement

PATCH In review Petr Tesarik 2 participants 2 messages Aug 28, 2012 – Aug 30, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 makedumpfile: add a missing return statement

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

---
 arch/x86.c |    1 +
 1 file changed, 1 insertion(+)
arch/x86.c +1 -0
@@ -64,6 +64,7 @@ remap_init(void)
 	}
 
 	max_numnodes = n;
+	return TRUE;
 }
 
 int

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#1 lore raw

Hello Petr,

Quoted 3 lines · On Tue, 28 Aug 2012 17:16:02 +0200 Petr Tesarik <[email protected]> wrote:

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

Thank you for your work.
I will merge this patch into v1.5.1.

Thanks
Atsushi Kumagai

Quoted 17 lines
---
 arch/x86.c |    1 +
 1 file changed, 1 insertion(+)
arch/x86.c +1 -0
@@ -64,6 +64,7 @@ remap_init(void)
 	}
 
 	max_numnodes = n;
+	return TRUE;
 }
 
 int
Quoted 4 lines

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec