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 v3 2/5] include: linux: pid: Move open brace to previous line.
Date: Tue, 28 Mar 2017 15:41:04 +0530	[thread overview]
Message-ID: <58da36bd.d51c620a.140d2.06e1@mx.google.com> (raw)
In-Reply-To: <cover.1490695255.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>
---
Changes in v3:
- Commit message wrapped within  74 columns.
 
Changes in v2:
- No changes.

 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 ea90c1f..c6d947f 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 */
@@ -66,8 +65,7 @@ struct upid {
  * @rcu: RCU helper.
  * @numbers: Instance of upid for each level.
  */
-struct pid
-{
+struct pid {
 	atomic_t count;
 	unsigned int level;
 	/* lists of tasks that use this pid */
@@ -83,8 +81,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-28 10:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1490695255.git.rvarsha016@gmail.com>
2017-03-28 10:08 ` [PATCH v3 1/5] include: linux: pid: Update documentation Varsha Rao
2017-03-28 10:11 ` Varsha Rao [this message]
2017-03-28 10:12 ` [PATCH v3 3/5] include: linux: pid: Add identifier to function definition argument Varsha Rao
2017-03-28 10:14 ` [PATCH v3 4/5] include: linux: pid: Add a blank line after declarations Varsha Rao
2017-03-28 10:15 ` [PATCH v3 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=58da36bd.d51c620a.140d2.06e1@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.