Re: [PATCH v2 1/2] x86/bug: Add printf() validation to HAVE_ARCH_BUG_FORMAT_ARGS WARNs
From: Dave Hansen
Date: Thu Apr 23 2026 - 13:12:57 EST
On 4/23/26 08:47, Sean Christopherson wrote:
>> Also, what do you mean about 64-bit-only code?
> 32-bit x86 doesn't support HAVE_ARCH_BUG_FORMAT_ARGS, and so it too uses generic
> implementations that provide printk validation. I.e. the blind spot is code that
> is strictly x86-64, because code that builds on other architectures and on 32-bit
> x86 will be detected by those other builds, and unlike CONFIG_BUG=n, people and
> bots regularly test those configurations.
Ahhh, thanks for the explanation. In any case:
Acked-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
I'll plan to suck these in after -rc1 if someone else doesn't beat me to it.