]> www.infradead.org Git - users/hch/misc.git/commitdiff
kbuild: uapi: upgrade check_sizetypes() warning to error
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 13 Aug 2025 06:16:59 +0000 (08:16 +0200)
committerNathan Chancellor <nathan@kernel.org>
Wed, 13 Aug 2025 21:00:34 +0000 (14:00 -0700)
No problematic type usages 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-4-8a7921ca3a03@linutronix.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
usr/include/headers_check.pl

index 36307a137cc1e109e3e1c253f66f3e5935499fc8..36349b21cef5d55241b68ca24dabe6a321b7ce27 100755 (executable)
@@ -159,7 +159,6 @@ sub check_sizetypes
                              "found __[us]{8,16,32,64} type " .
                              "without #include <linux/types.h>\n";
                $linux_types = 2;
-               # Warn until headers are all fixed
-               #$ret = 1;
+               $ret = 1;
        }
 }