mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gangadhar Vukkesala <gangs.freelancer@gmail.com>
To: akpm@linux-foundation.org, oleg@redhat.com,
	viro@zeniv.linux.org.uk, ebiederm@xmission.com
Cc: linux-kernel@vger.kernel.org,
	Gangadhar Vukkesala <gangs.freelancer@gmail.com>
Subject: [PATCH] kernel: fixed a space coding style issue
Date: Sun, 21 Dec 2014 14:02:02 +0530	[thread overview]
Message-ID: <1419150722-8313-1-git-send-email-gangs.freelancer@gmail.com> (raw)

fixed a space coding style issue in pid.c which was found when
running checkpatch.pl on pid.c

Signed-off-by: Gangadhar Vukkesala <gangs.freelancer@gmail.com>
---
 kernel/pid.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/pid.c b/kernel/pid.c
index cd36a5e..ad9d780 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -72,7 +72,7 @@ struct pid_namespace init_pid_ns = {
 		.refcount       = ATOMIC_INIT(2),
 	},
 	.pidmap = {
-		[ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL }
+		[0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL }
 	},
 	.last_pid = 0,
 	.nr_hashed = PIDNS_HASH_ADDING,
@@ -267,7 +267,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
-- 
1.7.9.5


             reply	other threads:[~2014-12-21  8:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-21  8:32 Gangadhar Vukkesala [this message]
2014-12-21  8:52 ` Jeremiah Mahler

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=1419150722-8313-1-git-send-email-gangs.freelancer@gmail.com \
    --to=gangs.freelancer@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=viro@zeniv.linux.org.uk \
    /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

all inboxes | Powered by JetHome®