[PATCH] devtools: check uAPI headers inclusions

Maxime Coquelin maxime.coquelin at redhat.com
Thu Nov 19 14:10:46 CET 2026


On Tue, Nov 3, 2026 at 8:59 AM David Marchand <david.marchand at redhat.com> wrote:
>
> Imported Linux kernel uAPI headers must be included before any other
> header to avoid a system-installed header being read instead.
>
> Add a check that runs after every operation to catch files where
> Linux uapi includes are preceded by other includes.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
>  devtools/linux-uapi.sh | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list