GCC4 warning: no return statement in function
Subsystems (2)
PATCH 1/1 GCC4 warning: no return statement in function
Signed-off-by Jesse Millan <[email protected]>
The function kauditd_thread() does not return an integer as the declaration says it should. There is no return statement in the body whatsoever and looks like the function should have been declared as returning void.
---
kernel/audit.c renamed from kernel/audit.c~audit-patch +1 -1
@@ -275,7 +275,7 @@ static int audit_set_failure(int state,return old; } -int kauditd_thread (void *dummy) +void kauditd_thread (void *dummy) {struct sk_buff *skb;
_
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors