public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Daeseok Youn <daeseok.youn@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [PATCH] kernel/fork.c : fix coding style issues
Date: Thu, 28 Nov 2013 05:49:11 +0000	[thread overview]
Message-ID: <1579476.AWLPZBjh3G@daeseok-laptop> (raw)
In-Reply-To: <11646966.nLE5LGqd3A@daeseok-laptop>

From cdc59c7b26d6ff238e9ab7e27f0d0182e3e73875 Mon Sep 17 00:00:00 2001
From: Daeseok Youn <daeseok.youn@gmail.com>
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 <daeseok.youn@gmail.com>
---
 kernel/fork.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/fork.c b/kernel/fork.c
index 728d5be..56824f1 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -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_VFORK
 SYSCALL_DEFINE0(vfork)
 {
-	return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0, 
+	return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0,
 			0, NULL, NULL);
 }
 #endif
-- 
1.7.9.5

---

      reply	other threads:[~2013-11-28  5:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28  5:48 [PATCH] kernel/fork.c : fix coding style issues Daeseok Youn
2013-11-28  5:49 ` Daeseok Youn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1579476.AWLPZBjh3G@daeseok-laptop \
    --to=daeseok.youn@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox