Subject: Re: [REGRESSION] next/pending-fixes: (build) error: unknown warning option '-Wno-suggest-attribute=format'; did...

From: Stephen Rothwell <[email-masked]>
Date: Tue, 16 Dec 2025 12:25:14 +1100

Hi all,

On Mon, 15 Dec 2025 23:59:03 -0000 KernelCI bot <[email-masked]> wrote:
>
> Hello,
> 
> New build issue found on next/pending-fixes:
> 
> ---
>  error: unknown warning option '-Wno-suggest-attribute=format'; did you mean '-Wno-property-attribute-mismatch'? [-Werror,-Wunknown-warning-option] in kernel/bpf/helpers.o (scripts/Makefile.build:287) [logspec:kbuild,kbuild.compiler.error]
> ---
> 
> - dashboard: https://d.kernelci.org/i/maestro:32e32983183c2c586f588a4a3a7cda83311d5be9
> - giturl: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> - commit HEAD:  326785a1dd4cea4065390fb99b0249781c9912bf
> 
> 
> Please include the KernelCI tag when submitting a fix:
> 
> Reported-by: kernelci.org bot <[email-masked]>
> 
> 
> Log excerpt:
> =====================================================
>   CC      kernel/bpf/helpers.o
> error: unknown warning option '-Wno-suggest-attribute=format'; did you mean '-Wno-property-attribute-mismatch'? [-Werror,-Wunknown-warning-option]
> 
> =====================================================
> 
> 
> # Builds where the incident occurred:
> 
> ## defconfig on (arm64):
> - compiler: clang-21
> - config: https://files.kernelci.org/kbuild-clang-21-arm64-mainline-694097d2cbfd84c3cdba292d/.config
> - dashboard: https://d.kernelci.org/build/maestro:694097d2cbfd84c3cdba292d
> 
> 
> #kernelci issue maestro:32e32983183c2c586f588a4a3a7cda83311d5be9
> 
> --
> This is an experimental report format. Please send feedback in!
> Talk to us at [email-masked]
> 
> Made with love by the KernelCI team - https://kernelci.org
> 

Presumably caused by commit

 ba34388912b5 ("bpf: Disable false positive -Wsuggest-attribute=format warning")

in the bpf tree.
-- 
Cheers,
Stephen Rothwell