wait_for_helper: trivial style cleanup
PATCH 1/1 wait_for_helper: trivial style cleanup
Use NULL instead of (... *)0
Signed-off-by Oleg Nesterov <[email protected]>
kernel/kmod.c renamed from kernel/kmod.c~ +1 -1
@@ -170,7 +170,7 @@ static int wait_for_helper(void *data) sa.sa.sa_handler =SIG_IGN ; sa.sa.sa_flags =0 ;siginitset (&sa.sa.sa_mask,sigmask (SIGCHLD )); -do_sigaction (SIGCHLD , &sa, (struct k_sigaction *)0 ); +do_sigaction (SIGCHLD , &sa,NULL );allow_signal (SIGCHLD ); pid =kernel_thread (____call_usermodehelper, sub_info,SIGCHLD );