[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251009165618.GA441460@ax162>
Date: Thu, 9 Oct 2025 09:56:18 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: Nicolas Schier <nsc@...nel.org>
Cc: Thomas Weißschuh <thomas.weissschuh@...utronix.de>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 4/5] kbuild: uapi: upgrade check_sizetypes() warning
to error
On Wed, Oct 08, 2025 at 09:52:02PM +0200, Nicolas Schier wrote:
> Good question. I think you're right, that header compiling should be
> enough.
>
> I cannot think of a sensible way that with successful header compile
> test for an UAPI header file that is not contained.
>
> Setting USERCFLAGS='-include something/like/types.h' during header
> compilation may hide a missing '#include <linux/types.h>', but I don't
> think that this is a good reason to keep the checking.
Yeah that seems extremely unlikely to me...
Okay, I think I will send Geert's fix for 6.18 then send a patch in a
couple of weeks that removes this check from headers_check.pl
altogether for 6.19.
Cheers,
Nathan
Powered by blists - more mailing lists