mirror of https://gitee.com/openkylin/linux.git
[PATCH] wait_for_helper: trivial style cleanup
Use NULL instead of (... *)0 Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
6ac781b11a
commit
8292d633ad
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue