summaryrefslogtreecommitdiff
path: root/include/net/proto_memory.h
diff options
context:
space:
mode:
authorBrendan Jackman <jackmanb@google.com>2025-12-07 03:53:18 +0000
committerIngo Molnar <mingo@kernel.org>2025-12-12 10:26:26 +0100
commitd36067d6ea00827e9b8fc087d8216710cb99b3cf (patch)
tree2955e94b247e695518d0be3239a9367162035813 /include/net/proto_memory.h
parentb5e51ef787660bffe9cd059e7abe32f3b1667a98 (diff)
bug: Hush suggest-attribute=format for __warn_printf()
Recent additions to this function cause GCC 14.3.0 to get excited (W=1) and suggest a missing attribute: lib/bug.c: In function '__warn_printf': lib/bug.c:187:25: error: function '__warn_printf' be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format] 187 | vprintk(fmt, *args); | ^~~~~~~ Disable the diagnostic locally, following the pattern used for stuff like va_format(). Fixes: 5c47b7f3d1a9 ("bug: Add BUG_FORMAT_ARGS infrastructure") Signed-off-by: Brendan Jackman <jackmanb@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://patch.msgid.link/20251207-warn-printf-gcc-v1-1-b597d612b94b@google.com
Diffstat (limited to 'include/net/proto_memory.h')
0 files changed, 0 insertions, 0 deletions