diff options
| author | Andy Shevchenko <[email protected]> | 2025-03-21 14:40:48 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2025-03-28 12:37:11 +0000 |
| commit | 6b2c1e30ad6846624d935a7ea98dae60458126b8 (patch) | |
| tree | 9fa2ea8dc11a3b6f72610174443c7d3a218a5596 /lib/crypto/mpi/mpi-add.c | |
| parent | seq_buf: Mark binary printing functions with __printf() attribute (diff) | |
| download | kernel-6b2c1e30ad6846624d935a7ea98dae60458126b8.tar.gz kernel-6b2c1e30ad6846624d935a7ea98dae60458126b8.zip | |
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 <[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 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
