[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250812-kbuild-hdrtest-fixes-v1-6-7ad2af66cd58@linutronix.de>
Date: Tue, 12 Aug 2025 07:33:09 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas.schier@...ux.dev>
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Subject: [PATCH 6/6] 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@...utronix.de>
---
usr/include/headers_check.pl | 1 +
1 file changed, 1 insertion(+)
diff --git a/usr/include/headers_check.pl b/usr/include/headers_check.pl
index 36349b21cef5d55241b68ca24dabe6a321b7ce27..21c2fb9520e6af2d6ebf2decce69f6eea64efd88 100755
--- a/usr/include/headers_check.pl
+++ b/usr/include/headers_check.pl
@@ -74,6 +74,7 @@ sub check_declarations
printf STDERR "$filename:$lineno: " .
"userspace cannot reference function or " .
"variable defined in the kernel\n";
+ $ret = 1;
}
}
--
2.50.1
Powered by blists - more mailing lists