diff options
author | 2024-07-11 19:23:21 +0100 | |
---|---|---|
committer | 2024-07-11 14:15:17 -0700 | |
commit | b3470da314fd8018ee237e382000c4154a942420 (patch) | |
tree | 5ad1e4998c29f1449123c7ca6e32ec6a27204acd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG (diff) | |
download | wireguard-linux-b3470da314fd8018ee237e382000c4154a942420.tar.xz wireguard-linux-b3470da314fd8018ee237e382000c4154a942420.zip |
bpf: annotate BTF show functions with __printf
-Werror=suggest-attribute=format warns about two functions
in kernel/bpf/btf.c [1]; add __printf() annotations to silence
these warnings since for CONFIG_WERROR=y they will trigger
build failures.
[1] https://lore.kernel.org/bpf/a8b20c72-6631-4404-9e1f-0410642d7d20@gmail.com/
Fixes: 31d0bc81637d ("bpf: Move to generic BTF show support, apply it to seq files/strings")
Reported-by: Mirsad Todorovac <mtodorovac69@gmail.com>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Tested-by: Mirsad Todorovac <mtodorovac69@yahoo.com>
Link: https://lore.kernel.org/r/20240711182321.963667-1-alan.maguire@oracle.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions