[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230730075819.39410-1-suijingfeng@loongson.cn>
Date: Sun, 30 Jul 2023 15:58:19 +0800
From: Sui Jingfeng <suijingfeng@...ngson.cn>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Lucas De Marchi <lucas.demarchi@...el.com>,
Jani Nikula <jani.nikula@...el.com>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] linux/list.h: Adjust coding style of the __list_del()
To make it consistent with the rest of the source code,
Also because "foo * bar" should be "foo *bar".
Signed-off-by: Sui Jingfeng <suijingfeng@...ngson.cn>
---
include/linux/list.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/list.h b/include/linux/list.h
index f10344dbad4d..09404cc89a34 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -109,7 +109,7 @@ static inline void list_add_tail(struct list_head *new, struct list_head *head)
* This is only for internal list manipulation where we know
* the prev/next entries already!
*/
-static inline void __list_del(struct list_head * prev, struct list_head * next)
+static inline void __list_del(struct list_head *prev, struct list_head *next)
{
next->prev = prev;
WRITE_ONCE(prev->next, next);
--
2.34.1
Powered by blists - more mailing lists