diff options
| author | Andy Shevchenko <[email protected]> | 2025-03-13 08:52:39 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2025-04-11 17:57:22 +0000 |
| commit | baaba7b4483731592334611f4170160ae8a4d5f7 (patch) | |
| tree | dc0331d13be9d95163be31f41d3a26c2ef1bd061 /drivers/gpu/drm/meson/meson_encoder_dsi.c | |
| parent | Linux 6.15-rc1 (diff) | |
| download | kernel-baaba7b4483731592334611f4170160ae8a4d5f7.tar.gz kernel-baaba7b4483731592334611f4170160ae8a4d5f7.zip | |
audit: mark audit_log_vformat() with __printf() attribute
audit_log_vformat() is using printf() type of format, and GCC compiler
(Debian 14.2.0-17) is not happy about this:
kernel/audit.c:1978:9: error: function ‘audit_log_vformat’
might be a candidate for ‘gnu_printf’ format attribute
kernel/audit.c:1987:17: error: function ‘audit_log_vformat’
might be a candidate for ‘gnu_printf’ format attribute
Fix the compilation errors (`make W=1` when CONFIG_WERROR=y, which is
default) by adding __printf() attribute.
Signed-off-by: Andy Shevchenko <[email protected]>
[PM: commit description line wrap fixes]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/meson/meson_encoder_dsi.c')
0 files changed, 0 insertions, 0 deletions
