Skip to contentSkip to conversation

+ kernel-forkc-fix-coding-style-issues.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Dec 2, 2013

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + kernel-forkc-fix-coding-style-issues.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Mon, 02 Dec 2013 14:08:19 -0800

The patch titled
Subject: kernel/fork.c: fix coding style issues
has been added to the -mm tree. Its filename is
kernel-forkc-fix-coding-style-issues.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-forkc-fix-coding-style-issues.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-forkc-fix-coding-style-issues.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Daeseok Youn <[email protected]>
Subject: kernel/fork.c: fix coding style issues

Fix errors reported by checkpatch.pl. One error is parentheses, the other is a whitespace issue.

---

 kernel/fork.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/fork.c renamed from kernel/fork.c~kernel-forkc-fix-coding-style-issues +2 -2
diff -puN kernel/fork.c~kernel-forkc-fix-coding-style-issues 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

_

Patches currently in -mm which might be from [email protected] are

kernel-forkc-make-dup_mm-static.patch kernel-forkc-fix-coding-style-issues.patch kernel-forkc-remove-redundant-null-check-in-dup_mm.patch