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:
Thomas Weißschuh 2025-08-13 08:17:00 +02:00 committed by Nathan Chancellor
parent c3a9d74ee4
commit b8d762c983
No known key found for this signature in database
GPG Key ID: 1D6B269171C01A96
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ sub check_declarations
printf STDERR "$filename:$lineno: " . printf STDERR "$filename:$lineno: " .
"userspace cannot reference function or " . "userspace cannot reference function or " .
"variable defined in the kernel\n"; "variable defined in the kernel\n";
$ret = 1;
} }
} }