aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2025-03-21 14:40:47 +0000
committerPetr Mladek <[email protected]>2025-03-28 12:37:11 +0000
commit079a206f51f0c183be96a2f78f183dee42df1d4a (patch)
tree49e984f1491ce0587b7ba22381024cae791fd9c0 /drivers/fpga/tests/fpga-mgr-test.c
parentMerge tag 'printk-for-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadkernel-079a206f51f0c183be96a2f78f183dee42df1d4a.tar.gz
kernel-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 <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions