diff options
| author | Andy Shevchenko <[email protected]> | 2025-03-21 14:40:47 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2025-03-28 12:37:11 +0000 |
| commit | 079a206f51f0c183be96a2f78f183dee42df1d4a (patch) | |
| tree | 49e984f1491ce0587b7ba22381024cae791fd9c0 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Merge tag 'printk-for-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
