Skip to contentSkip to conversation

kernelh-include-a-note-to-discourage-people-from-including-it-in-headers.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 20, 2022

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: kernel.h: include a note to discourage people from including it in headers
has been removed from the -mm tree. Its filename was
kernelh-include-a-note-to-discourage-people-from-including-it-in-headers.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Andy Shevchenko <[email protected]>
Subject: kernel.h: include a note to discourage people from including it in headers

Include a note at the top to discourage people from including it in headers.

---

 include/linux/kernel.h |    9 +++++++++
 1 file changed, 9 insertions(+)
include/linux/kernel.h renamed from include/linux/kernel.h~kernelh-include-a-note-to-discourage-people-from-including-it-in-headers +9 -0
@@ -1,4 +1,13 @@
 /* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * NOTE:
+ *
+ * This header has combined a lot of unrelated to each other stuff.
+ * The process of splitting its content is in progress while keeping
+ * backward compatibility. That's why it's highly recommended NOT to
+ * include this header inside another header file, especially under
+ * generic or architectural include/ directory.
+ */
 #ifndef _LINUX_KERNEL_H
 #define _LINUX_KERNEL_H
 

_

Patches currently in -mm which might be from [email protected] are