Files
linux-stable-mirror/scripts
Masahiro Yamada 7d95680d64 scripts/misc-check: check unnecessary #include <linux/export.h> when W=1
Another issue with <linux/export.h> is that it is sometimes included
even when EXPORT_SYMBOL() is not used at all.

Some headers (e.g. include/linux/linkage.h>) cannot be fixed for now
for the reason described in the previous commit.

This commit adds a warning for *.c files that include <linux/export.h>
but do not use EXPORT_SYMBOL() when the kernel is built with W=1.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2025-06-06 05:40:25 +09:00
..
2024-09-01 20:34:49 +09:00
2024-10-07 02:12:27 +09:00
2025-06-06 05:40:25 +09:00
2024-11-28 08:11:56 +09:00
2025-02-12 12:12:28 +01:00