Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1695557
| From | Maninder Singh <maninder1.s@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] pid: making some changes as per kernel coding guidlines |
| Date | 2017-07-25 12:00 +0200 |
| Message-ID | <u74Nb-1aa-17@gated-at.bofh.it> (permalink) |
| References | <u74Nb-1aa-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 1/1] pid: making some changes as per kernel coding guidlines Maninder Singh <maninder1.s@samsung.com> - 2017-07-25 12:00 +0200
csiph-web