diff options
author | Andrew Morton <akpm@osdl.org> | 2006-10-06 07:43:48 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-06 15:53:39 (GMT) |
commit | 4899b8b16b302299cc91289f7b5bac295e9ab387 (patch) | |
tree | e9bfd4f3a44f6a49e60f1b8930a015c6772524ef /include/asm-generic/bug.h | |
parent | d195412c35fe777811bd58ad43fba3aacc67e15c (diff) | |
download | linux-fsl-qoriq-4899b8b16b302299cc91289f7b5bac295e9ab387.tar.xz |
[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 <viro@zeniv.linux.org.uk>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-generic/bug.h')
0 files changed, 0 insertions, 0 deletions