summaryrefslogtreecommitdiff
path: root/usr/include/headers_check.pl
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2026-02-12 11:28:27 -0500
committerNathan Chancellor <nathan@kernel.org>2026-02-12 11:28:27 -0500
commitdf989b01b5f97dae8f9869cfacbda1308f2182c1 (patch)
treed150f91b9c27af17590ee54f5b2f778529e916d5 /usr/include/headers_check.pl
parent05f7e89ab9731565d8a62e3b5d1ec206485eeb0b (diff)
parentd8ad80a85b96649a6ef30976762660245ae61a25 (diff)
downloadlwn-df989b01b5f97dae8f9869cfacbda1308f2182c1.tar.gz
lwn-df989b01b5f97dae8f9869cfacbda1308f2182c1.zip
Merge 7.0 Kbuild changes into kbuild-fixes
kbuild-fixes needs to be based on 6.19 to apply some fixes for 62089b804895 ("kbuild: rpm-pkg: Generate debuginfo package manually") which landed in 6.19-rc1 but the new material of 7.0 needs fixes merged as well. Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'usr/include/headers_check.pl')
-rwxr-xr-xusr/include/headers_check.pl8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/include/headers_check.pl b/usr/include/headers_check.pl
index af5a513eaa00..6cd6eb652c8d 100755
--- a/usr/include/headers_check.pl
+++ b/usr/include/headers_check.pl
@@ -40,7 +40,6 @@ foreach my $file (@files) {
&check_include();
&check_asm_types();
&check_declarations();
- # Dropped for now. Too much noise &check_config();
}
close $fh;
}
@@ -77,13 +76,6 @@ sub check_declarations
}
}
-sub check_config
-{
- if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) {
- printf STDERR "$filename:$lineno: leaks CONFIG_$1 to userspace where it is not valid\n";
- }
-}
-
my $linux_asm_types;
sub check_asm_types
{