Skip to content
Snippets Groups Projects
  • Andrew Morton's avatar
    4899b8b1
    [PATCH] kauditd_thread warning fix · 4899b8b1
    Andrew Morton authored
    
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    4899b8b1
    History
    [PATCH] kauditd_thread warning fix
    Andrew Morton authored
    
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.