Skip to content

Commit b8d762c

Browse files
t-8chnathanchance
authored andcommitted
kbuild: uapi: upgrade check_declarations() warning to error
No problematic declarations exist anymore. Make sure it stays this way. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Nicolas Schier <nsc@kernel.org> Link: https://lore.kernel.org/r/20250813-kbuild-hdrtest-fixes-v2-5-8a7921ca3a03@linutronix.de Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent c3a9d74 commit b8d762c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

usr/include/headers_check.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ sub check_declarations
7474
printf STDERR "$filename:$lineno: " .
7575
"userspace cannot reference function or " .
7676
"variable defined in the kernel\n";
77+
$ret = 1;
7778
}
7879
}
7980

0 commit comments

Comments
 (0)