All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] GCC4 warning: no return statement in function
@ 2005-07-01 18:19 Jesse Millan
  0 siblings, 0 replies; only message in thread
From: Jesse Millan @ 2005-07-01 18:19 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: audit-patch.patch --]
[-- Type: text/x-diff, Size: 688 bytes --]



Signed-off-by: Jesse Millan <jessem@cs.pdx.edu>

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.
---


diff -puN kernel/audit.c~audit-patch kernel/audit.c
--- linux-2.6.13-rc1.kj.jm.gcc4/kernel/audit.c~audit-patch	2005-07-01 10:59:36.417950168 -0700
+++ linux-2.6.13-rc1.kj.jm.gcc4-jessem/kernel/audit.c	2005-07-01 11:00:52.979311072 -0700
@@ -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;
 
_

[-- Attachment #3: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-01 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 18:19 [KJ] [PATCH] GCC4 warning: no return statement in function Jesse Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.