diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-03-21 17:40:48 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2025-03-28 15:37:11 +0300 |
commit | 6b2c1e30ad6846624d935a7ea98dae60458126b8 (patch) | |
tree | 9fa2ea8dc11a3b6f72610174443c7d3a218a5596 /lib/crypto/mpi/mpiutil.c | |
parent | 079a206f51f0c183be96a2f78f183dee42df1d4a (diff) | |
download | linux-6b2c1e30ad6846624d935a7ea98dae60458126b8.tar.xz |
seq_file: 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:
fs/seq_file.c:418:35: error: function ‘seq_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-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions