linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kaudit_thread return val
@ 2006-01-10 22:01 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2006-01-10 22:01 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-kernel, linux-audit

Fix warning because kaudit_thread() is not returning a value.
This is in current linux-2.6.git.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

--- skge-2.6.orig/kernel/audit.c
+++ skge-2.6/kernel/audit.c
@@ -300,6 +300,8 @@ static int kauditd_thread(void *dummy)
 			remove_wait_queue(&kauditd_wait, &wait);
 		}
 	}
+
+	return 0;
 }
 
 void audit_send_reply(int pid, int seq, int type, int done, int multi,

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

only message in thread, other threads:[~2006-01-10 22:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-10 22:01 [PATCH] kaudit_thread return val Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).