diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2014-01-23 18:55:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 19:37:02 -0500 |
commit | 5d59e18270d4769c9160c282b25c00b6fc004ffb (patch) | |
tree | 2f945528b513b51d0735cf38f71df9cdefb125cb /kernel | |
parent | ff252c1fc537b0c9e40f62da0a9d11bf0737b7db (diff) |
kernel/fork.c: fix coding style issues
Fix errors reported by checkpatch.pl. One error is parentheses, the other
is a whitespace issue.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 5615ead014e3..01ccc6109918 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1654,7 +1654,7 @@ SYSCALL_DEFINE0(fork) | |||
1654 | return do_fork(SIGCHLD, 0, 0, NULL, NULL); | 1654 | return do_fork(SIGCHLD, 0, 0, NULL, NULL); |
1655 | #else | 1655 | #else |
1656 | /* can not support in nommu mode */ | 1656 | /* can not support in nommu mode */ |
1657 | return(-EINVAL); | 1657 | return -EINVAL; |
1658 | #endif | 1658 | #endif |
1659 | } | 1659 | } |
1660 | #endif | 1660 | #endif |
@@ -1662,7 +1662,7 @@ SYSCALL_DEFINE0(fork) | |||
1662 | #ifdef __ARCH_WANT_SYS_VFORK | 1662 | #ifdef __ARCH_WANT_SYS_VFORK |
1663 | SYSCALL_DEFINE0(vfork) | 1663 | SYSCALL_DEFINE0(vfork) |
1664 | { | 1664 | { |
1665 | return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0, | 1665 | return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0, |
1666 | 0, NULL, NULL); | 1666 | 0, NULL, NULL); |
1667 | } | 1667 | } |
1668 | #endif | 1668 | #endif |