aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-03-21 16:40:47 +0200
committerPetr Mladek <pmladek@suse.com>2025-03-28 13:37:11 +0100
commit079a206f51f0c183be96a2f78f183dee42df1d4a (patch)
tree49e984f1491ce0587b7ba22381024cae791fd9c0 /scripts/lib/kdoc/kdoc_re.py
parentMerge tag 'printk-for-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux (diff)
downloadwireguard-linux-079a206f51f0c183be96a2f78f183dee42df1d4a.tar.xz
wireguard-linux-079a206f51f0c183be96a2f78f183dee42df1d4a.zip
seq_buf: Mark binary printing functions with __printf() attribute
Binary printing functions are using printf() type of format, and compiler is not happy about them as is: lib/seq_buf.c:162:17: error: function ‘seq_buf_bprintf’ 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-2-andriy.shevchenko@linux.intel.com Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions