mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ static int wait_for_helper(void *data)
|
||||||
sa.sa.sa_handler = SIG_IGN;
|
sa.sa.sa_handler = SIG_IGN;
|
||||||
sa.sa.sa_flags = 0;
|
sa.sa.sa_flags = 0;
|
||||||
siginitset(&sa.sa.sa_mask, sigmask(SIGCHLD));
|
siginitset(&sa.sa.sa_mask, sigmask(SIGCHLD));
|
||||||
do_sigaction(SIGCHLD, &sa, (struct k_sigaction *)0);
|
do_sigaction(SIGCHLD, &sa, NULL);
|
||||||
allow_signal(SIGCHLD);
|
allow_signal(SIGCHLD);
|
||||||
|
|
||||||
pid = kernel_thread(____call_usermodehelper, sub_info, SIGCHLD);
|
pid = kernel_thread(____call_usermodehelper, sub_info, SIGCHLD);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue