Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1611349

[PATCH 2/5] kernel: pid.c: Add space before the open parenthesis

From Arushi Singhal <arushisinghal19971997@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 2/5] kernel: pid.c: Add space before the open parenthesis
Date 2017-03-28 22:50 +0200
Message-ID <tq6dX-4Gs-9@gated-at.bofh.it> (permalink)
References <tq6dX-4Gs-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add the space before open parenthesis as reported by checkpatch.pl

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
 kernel/pid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/pid.c b/kernel/pid.c
index 59ec7a671e06..5822142ca92a 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -266,7 +266,7 @@ void free_pid(struct pid *pid)
 		struct upid *upid = pid->numbers + i;
 		struct pid_namespace *ns = upid->ns;
 		hlist_del_rcu(&upid->pid_chain);
-		switch(--ns->nr_hashed) {
+		switch (--ns->nr_hashed) {
 		case 2:
 		case 1:
 			/* When all that is left in the pid namespace
-- 
2.11.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/5] kernel: pid.c: Add space before the open parenthesis Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-03-28 22:50 +0200

csiph-web