DORMANTno replies

[PATCH] ARM: kprobes: Fix non-ANSI declaration of arch_init_kprobes()

From: Christian Engelmayer <hidden>
Date: 2014-06-14 21:48:00
Also in: lkml
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Fix sparse warning "non-ANSI function declaration of function
'arch_init_kprobes'".

Signed-off-by: Christian Engelmayer <redacted>
---
 arch/arm/kernel/kprobes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/kprobes.c b/arch/arm/kernel/kprobes.c
index 6d64420..18b79a7 100644
--- a/arch/arm/kernel/kprobes.c
+++ b/arch/arm/kernel/kprobes.c
@@ -615,7 +615,7 @@ static struct undef_hook kprobes_arm_break_hook = {
 
 #endif /* !CONFIG_THUMB2_KERNEL */
 
-int __init arch_init_kprobes()
+int __init arch_init_kprobes(void)
 {
 	arm_probes_decode_init();
 #ifdef CONFIG_THUMB2_KERNEL
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help