Files
linux/include/linux
Andy Shevchenko 7bf819aa99 vsnprintf: Mark binary printing functions with __printf() attribute
Binary printf() functions are using printf() type of format, and compiler
is not happy about them as is:

lib/vsprintf.c:3130:47: error: function ‘vbin_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]
lib/vsprintf.c:3298:33: error: function ‘bstr_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]

Fix the compilation errors by adding __printf() attribute.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20250321144822.324050-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
2025-03-28 13:37:11 +01:00
..
2025-02-28 16:33:32 +00:00
2025-03-06 09:25:06 +01:00
2025-03-13 14:15:54 +00:00
2025-03-08 14:37:39 +01:00
2025-02-26 12:10:48 +01:00
2025-03-20 17:33:31 -04:00
2025-02-24 12:08:51 +02:00
2025-03-20 09:45:39 +01:00
2025-03-04 09:42:29 +01:00
2025-03-20 15:16:03 +01:00
2025-03-11 14:05:39 +01:00
2025-03-10 13:13:04 -07:00
2025-03-22 15:36:49 +02:00
2025-03-08 12:13:25 +01:00
2025-03-17 13:54:50 +00:00
2025-02-25 15:07:24 -05:00
2025-03-10 08:53:40 +01:00
2025-03-12 20:41:14 +01:00
2025-03-16 17:40:22 -07:00
2025-02-28 11:51:26 -08:00
2025-02-28 11:51:26 -08:00
2025-03-25 09:15:07 -07:00
2025-02-28 11:51:26 -08:00
2025-03-13 13:25:58 -07:00
2025-03-13 13:25:58 -07:00
2025-03-13 13:25:58 -07:00