diff options
| author | Andy Shevchenko <[email protected]> | 2025-03-21 14:40:50 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2025-03-28 12:37:11 +0000 |
| commit | 7bf819aa992faee980610e9021aec0c38aac53be (patch) | |
| tree | b79be465308cf33a8407977b8d80a7b083a0cc3b /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | tracing: Mark binary printing functions with __printf() attribute (diff) | |
| download | kernel-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 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
