KVM: selftests: Fix benign %llx vs. %lx issues in guest asserts
authorSean Christopherson <seanjc@google.com>
Wed, 29 Nov 2023 22:49:14 +0000 (14:49 -0800)
committerSean Christopherson <seanjc@google.com>
Fri, 1 Dec 2023 16:15:40 +0000 (08:15 -0800)
commit4d53dcc5d0bc2c445e29cb14df6d2cf93091731f
treefabc43060daa9f03b76c9e308838f6470913673c
parent1af3bf2befc07c7198100949dd1bece02a7dbded
KVM: selftests: Fix benign %llx vs. %lx issues in guest asserts

Convert %llx to %lx as appropriate in guest asserts.  The guest printf
implementation treats them the same as KVM selftests are 64-bit only, but
strictly adhering to the correct format will allow annotating the
underlying helpers with __printf() without introducing new warnings in the
build.

Link: https://lore.kernel.org/r/20231129224916.532431-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/set_memory_region_test.c
tools/testing/selftests/kvm/x86_64/hyperv_features.c
tools/testing/selftests/kvm/x86_64/private_mem_conversions_test.c
tools/testing/selftests/kvm/x86_64/svm_nested_soft_inject_test.c
tools/testing/selftests/kvm/x86_64/vmx_pmu_caps_test.c
tools/testing/selftests/kvm/x86_64/xcr0_cpuid_test.c