Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Add missing va_end.

There is no va_end after va_copy, just add it.

Signed-off-by: Zhang Jiao <zhangjiao2@cmss.chinamobile.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240924045534.8672-1-zhangjiao2@cmss.chinamobile.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Zhang Jiao and committed by
Alexei Starovoitov
a1ec23b9 7bae563c

+1
+1
tools/testing/selftests/bpf/test_progs.c
··· 868 868 869 869 va_copy(args2, args); 870 870 vfprintf(libbpf_capture_stream, format, args2); 871 + va_end(args2); 871 872 } 872 873 873 874 if (env.verbosity < VERBOSE_VERY && level == LIBBPF_DEBUG)