Re: [PATCH] bug: shut up format attribute warning for clang as well
From: Arnd Bergmann
Date: Mon Mar 23 2026 - 11:57:17 EST
On Mon, Mar 23, 2026, at 11:54, Brendan Jackman wrote:
> On Fri Mar 20, 2026 at 9:14 PM UTC, Arnd Bergmann wrote:
>
> There is actually a superior fix for this warning that Andy Schevchenko
> posted here (mine just happened to get merged first):
>
> https://lore.kernel.org/all/20251208141618.2805983-1-andriy.shevchenko@xxxxxxxxxxxxxxx/T/#u
>
> Should we just switch over to that? Looks like it should work for both
> compilers.
Right, I tried that again and it works. I had confused it with the
similar logic to disable the warning on va_format(), which is
not that easy to avoid.
Arnd