From: Andrew Morton Date: Fri, 6 Oct 2006 07:43:48 +0000 (-0700) Subject: [PATCH] kauditd_thread warning fix X-Git-Tag: v2.6.19-rc2~310 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4899b8b16b302299cc91289f7b5bac295e9ab387;p=pandora-kernel.git [PATCH] kauditd_thread warning fix Squash this warning: kernel/audit.c: In function 'kauditd_thread': kernel/audit.c:367: warning: no return statement in function returning non-void We might as test kthread_should_stop(), although it's not very pointful at present. The code which starts this thread looks racy - the kernel could start multiple threads. Cc: Al Viro Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed