All of lore.kernel.org
 help / color / mirror / Atom feed
From: Varsha Rao <rvarsha016@gmail.com>
To: mawilcox@microsoft.com
Cc: outreachy-kernel <outreachy-kernel@googlegroups.com>
Subject: [PATCH 2/5] include: linux: pid: Move open brace to previous line.
Date: Sun, 26 Mar 2017 15:35:25 +0530	[thread overview]
Message-ID: <58d79268.4e79630a.22370.502a@mx.google.com> (raw)
In-Reply-To: <cover.1490516333.git.rvarsha016@gmail.com>

Move open braces to the same line, as that of struct and enum. This patch fixes
the checkpatch issue.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
 include/linux/pid.h | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/include/linux/pid.h b/include/linux/pid.h
index c2bea47..a465173 100644
--- a/include/linux/pid.h
+++ b/include/linux/pid.h
@@ -3,8 +3,7 @@
 
 #include <linux/rculist.h>
 
-enum pid_type
-{
+enum pid_type {
 	PIDTYPE_PID, /* Process ID */
 	PIDTYPE_PGID, /* Process group ID */
 	PIDTYPE_SID, /* Process session ID */
@@ -67,8 +66,7 @@ struct upid {
  * @numbers: Instance of upid for each level.
  */
 
-struct pid
-{
+struct pid {
 	atomic_t count;
 	unsigned int level;
 	/* lists of tasks that use this pid */
@@ -84,8 +82,7 @@ extern struct pid init_struct_pid;
  * @node: List element.
  * @pid: Pointer to the struct pid of the process.
  */
-struct pid_link
-{
+struct pid_link {
 	struct hlist_node node;
 	struct pid *pid;
 };
-- 
2.9.3



  parent reply	other threads:[~2017-03-26 10:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1490516333.git.rvarsha016@gmail.com>
2017-03-26 10:04 ` [PATCH 1/5] include: linux: pid: Update documentation Varsha Rao
2017-03-26 10:49   ` [Outreachy kernel] " Julia Lawall
2017-03-26 13:52     ` Matthew Wilcox
2017-03-26 14:10       ` Varsha Rao
2017-03-26 10:05 ` Varsha Rao [this message]
2017-03-26 10:06 ` [PATCH 3/5] include: linux: pid: Add identifier to function definition argument Varsha Rao
2017-03-26 10:07 ` [PATCH 4/5] include: linux: pid: Add a blank line after declarations Varsha Rao
2017-03-26 10:08 ` [PATCH 5/5] include: linux: pid: Remove space before tabs Varsha Rao

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=58d79268.4e79630a.22370.502a@mx.google.com \
    --to=rvarsha016@gmail.com \
    --cc=mawilcox@microsoft.com \
    --cc=outreachy-kernel@googlegroups.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.