On Tue, 23 Apr 2024 12:03:08 -0700, Sean Christopherson wrote: > Define _GNU_SOURCE is the base CFLAGS instead of relying on selftests to > manually #define _GNU_SOURCE, which is repetitive and error prone. E.g. > kselftest_harness.h requires _GNU_SOURCE for asprintf(), but if a selftest > includes kvm_test_harness.h after stdio.h, the include guards result in > the effective version of stdio.h consumed by kvm_test_harness.h not > defining asprintf(): > > [...] Applied to kvm-x86 selftests_utils, thanks! [1/1] KVM: selftest: Define _GNU_SOURCE for all selftests code https://github.com/kvm-x86/linux/commit/730cfa45b5f4 -- https://github.com/kvm-x86/linux/tree/next