aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2025-03-21 14:40:50 +0000
committerPetr Mladek <[email protected]>2025-03-28 12:37:11 +0000
commit7bf819aa992faee980610e9021aec0c38aac53be (patch)
treeb79be465308cf33a8407977b8d80a7b083a0cc3b /lib/crypto/mpi/mpi-add.c
parenttracing: Mark binary printing functions with __printf() attribute (diff)
downloadkernel-7bf819aa992faee980610e9021aec0c38aac53be.tar.gz
kernel-7bf819aa992faee980610e9021aec0c38aac53be.zip
vsnprintf: Mark binary printing functions with __printf() attribute
Binary printf() functions are using printf() type of format, and compiler is not happy about them as is: lib/vsprintf.c:3130:47: error: function ‘vbin_printf’ might be a candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format] lib/vsprintf.c:3298:33: error: function ‘bstr_printf’ 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