summaryrefslogtreecommitdiff
path: root/include/linux/bpf_verifier.h
diff options
context:
space:
mode:
authorAndrey Ignatov <rdna@fb.com>2019-04-07 08:37:34 +0300
committerAlexei Starovoitov <ast@kernel.org>2019-04-07 09:13:54 +0300
commitff466b58055f2d28d8ddc1388af312e87a693efe (patch)
tree96b75cd697c6c179a17817c18c0ad9700fa4cedf /include/linux/bpf_verifier.h
parent347807d3876aa9c75f64001c736e0a16a6b21acf (diff)
downloadlinux-ff466b58055f2d28d8ddc1388af312e87a693efe.tar.xz
libbpf: Ignore -Wformat-nonliteral warning
vsprintf() in __base_pr() uses nonliteral format string and it breaks compilation for those who provide corresponding extra CFLAGS, e.g.: https://github.com/libbpf/libbpf/issues/27 If libbpf is built with the flags from PR: libbpf.c:68:26: error: format string is not a string literal [-Werror,-Wformat-nonliteral] return vfprintf(stderr, format, args); ^~~~~~ 1 error generated. Ignore this warning since the use case in libbpf.c is legit. Signed-off-by: Andrey Ignatov <rdna@fb.com> Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/bpf_verifier.h')
0 files changed, 0 insertions, 0 deletions