Re: [PATCH] kbuild: uapi: Drop types.h check from headers_check.pl

From: Thomas Weißschuh

Date: Fri Oct 24 2025 - 03:58:42 EST


Oct 24, 2025 01:51:49 Nathan Chancellor <nathan@xxxxxxxxxx>:

> Since commit d6fc9fcbaa65 ("kbuild: compile-test exported headers to
> ensure they are self-contained"), the UAPI headers are compile tested
> standalone with the compiler. This compile testing will catch a missing
> include of types.h, making the types.h checking in headers_check.pl
> originally added in commit 483b41218fa9 ("kbuild: add checks for include
> of linux/types in userspace headers") obsolete.
>
> Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>

Reviewed-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>

> ---
> usr/include/headers_check.pl | 63 --------------------------------------------
> 1 file changed, 63 deletions(-)

(...)