Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1695557 > unrolled thread
| Started by | Maninder Singh <maninder1.s@samsung.com> |
|---|---|
| First post | 2017-07-25 12:00 +0200 |
| Last post | 2017-07-25 12:00 +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.
[PATCH 1/1] pid: making some changes as per kernel coding guidlines Maninder Singh <maninder1.s@samsung.com> - 2017-07-25 12:00 +0200
| From | Maninder Singh <maninder1.s@samsung.com> |
|---|---|
| Date | 2017-07-25 12:00 +0200 |
| Subject | [PATCH 1/1] pid: making some changes as per kernel coding guidlines |
| Message-ID | <u74Nb-1aa-17@gated-at.bofh.it> |
This patch do some minor changes to make code align to
kernel coding guidlines, and make it little easy to find
definations of these structs.
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Vaneet Narang <v.narang@samsung.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 4d17931..3677662 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,
PIDTYPE_PGID,
PIDTYPE_SID,
@@ -54,8 +53,7 @@ struct upid {
struct hlist_node pid_chain;
};
-struct pid
-{
+struct pid {
atomic_t count;
unsigned int level;
/* lists of tasks that use this pid */
@@ -66,8 +64,7 @@ struct pid
extern struct pid init_struct_pid;
-struct pid_link
-{
+struct pid_link {
struct hlist_node node;
struct pid *pid;
};
--
1.9.1
Back to top | Article view | linux.kernel
csiph-web