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


Groups > linux.kernel > #1611349 > unrolled thread

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

Started byArushi Singhal <arushisinghal19971997@gmail.com>
First post2017-03-28 22:50 +0200
Last post2017-03-28 22:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromArushi Singhal <arushisinghal19971997@gmail.com>
Date2017-03-28 22:50 +0200
Subject[PATCH 2/5] kernel: pid.c: Add space before the open parenthesis
Message-ID<tq6dX-4Gs-9@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web