On Tue, Apr 30, 2024, Edward Liaw wrote:
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced asprintf into kselftest_harness.h, which is a GNU extension and needs _GNU_SOURCE to either be defined prior to including headers or with the -D_GNU_SOURCE flag passed to the compiler.
Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") Signed-off-by: Edward Liaw edliaw@google.com
tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c | 2 ++ 1 file changed, 2 insertions(+)
Regardless of where this series ends up going, this patch can be dropped as I already have a fix applied for all KVM selftests[*].
Thanks!
[*] https://lore.kernel.org/all/20240423190308.2883084-1-seanjc@google.com