mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
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>
This commit is contained in:
committed by
Nathan Chancellor
parent
c3a9d74ee4
commit
b8d762c983
@@ -74,6 +74,7 @@ sub check_declarations
|
||||
printf STDERR "$filename:$lineno: " .
|
||||
"userspace cannot reference function or " .
|
||||
"variable defined in the kernel\n";
|
||||
$ret = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user