2022-01-10 03:20:06

by Yajun Deng

[permalink] [raw]
Subject: [PATCH] pid: move open brace after struct pid

The open brace should be after a struct of define, that's good
for searching.

Signed-off-by: Yajun Deng <[email protected]>
---
include/linux/pid.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/linux/pid.h b/include/linux/pid.h
index 343abf22092e..b54031931565 100644
--- a/include/linux/pid.h
+++ b/include/linux/pid.h
@@ -56,8 +56,7 @@ struct upid {
struct pid_namespace *ns;
};

-struct pid
-{
+struct pid {
refcount_t count;
unsigned int level;
spinlock_t lock;
--
2.25.1