aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-05-16 16:27:41 -0400
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-16 18:49:17 -0400
commitbe2d04d11fd33bd46622f94619aae1596d9f9303 (patch)
tree64f6eb3bde9c91d2598a15f2744f2dbe1154afe2 /scripts/bpf_helpers_doc.py
parent44edef77bd92730e1520b07f5ae2c9f4628738a8 (diff)
bpf: add __printf verification to bpf_verifier_vlog
__printf is useful to verify format and arguments. ‘bpf_verifier_vlog’ function is used twice in verifier.c in both cases the caller function already uses the __printf gcc attribute. Remove the following warning, triggered with W=1: kernel/bpf/verifier.c:176:2: warning: function might be possible candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions