[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251230-exported-headers-types-h-v1-1-947fc606f3d8@linutronix.de>
Date: Tue, 30 Dec 2025 08:13:15 +0100
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Arnd Bergmann <arnd@...db.de>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Subject: [PATCH] types: Drop definition of __EXPORTED_HEADERS__
This definition disarms the warning in uapi/linux/types.h about
including kernel headers from user space. However the warning is already
disarmed due to the fact that kernel code is built with -D__KERNEL__.
Drop the pointless definition.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
---
include/linux/types.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/types.h b/include/linux/types.h
index d4437e9c452c..0cbb684eec5c 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -2,7 +2,6 @@
#ifndef _LINUX_TYPES_H
#define _LINUX_TYPES_H
-#define __EXPORTED_HEADERS__
#include <uapi/linux/types.h>
#ifndef __ASSEMBLY__
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251229-exported-headers-types-h-4a9d27e4663f
Best regards,
--
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Powered by blists - more mailing lists