kernel/fork.c : fix coding style issues
Subsystems (4)
PATCH 1/1 kernel/fork.c : fix coding style issues
From cdc59c7b26d6ff238e9ab7e27f0d0182e3e73875 Mon Sep 17 00:00:00 2001
From: Daeseok Youn <[email protected]>
Date: Thu, 28 Nov 2013 10:19:58 +0900
Subject: [PATCH] kernel/fork.c : fix coding style issues
This patch fixes the following errors reported by checkpatch.pl. One of errors is parentheses, another is whitespace issue.
Signed-off-by Daeseok Youn <[email protected]>
--- kernel/fork.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/fork.c +2 -2
@@ -1644,7 +1644,7 @@ SYSCALL_DEFINE0(fork)return do_fork (SIGCHLD ,0 ,0 ,NULL ,NULL );#else /* can not support in nommu mode */ -return (-EINVAL ); +return -EINVAL ; #endif }#endif
@@ -1652,7 +1652,7 @@ SYSCALL_DEFINE0(fork)#ifdef __ARCH_WANT_SYS_VFORKSYSCALL_DEFINE0 (vfork) { -return do_fork (CLONE_VFORK |CLONE_VM |SIGCHLD ,0 , +return do_fork (CLONE_VFORK |CLONE_VM |SIGCHLD ,0 ,0 ,NULL ,NULL ); }#endif
Signature · 3 lines
1.7.9.5 ---
PATCH 1/1 kernel/fork.c : fix coding style issues
From cdc59c7b26d6ff238e9ab7e27f0d0182e3e73875 Mon Sep 17 00:00:00 2001
From: Daeseok Youn <[email protected]>
Date: Thu, 28 Nov 2013 10:19:58 +0900
Subject: [PATCH] kernel/fork.c : fix coding style issues
This patch fixes the following errors reported by checkpatch.pl. One of errors is parentheses, another is whitespace issue.
Signed-off-by Daeseok Youn <[email protected]>
--- kernel/fork.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/fork.c +2 -2
@@ -1644,7 +1644,7 @@ SYSCALL_DEFINE0(fork)return do_fork (SIGCHLD ,0 ,0 ,NULL ,NULL );#else /* can not support in nommu mode */ -return (-EINVAL ); +return -EINVAL ; #endif }#endif
@@ -1652,7 +1652,7 @@ SYSCALL_DEFINE0(fork)#ifdef __ARCH_WANT_SYS_VFORKSYSCALL_DEFINE0 (vfork) { -return do_fork (CLONE_VFORK |CLONE_VM |SIGCHLD ,0 , +return do_fork (CLONE_VFORK |CLONE_VM |SIGCHLD ,0 ,0 ,NULL ,NULL ); }#endif
Signature · 3 lines
1.7.9.5 ---