OSDN Git Service

KVM: selftests: Enable printf format warnings for TEST_ASSERT
authorAndrew Jones <drjones@redhat.com>
Tue, 10 Mar 2020 09:15:55 +0000 (10:15 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:59:04 +0000 (17:59 +0100)
commitd9eaf19ecc12668caf280f3d8e24b22ff5ba716b
tree81ade0f88a194ae3e7e8a82e2482eaaf9451441b
parent6a46fcf92f063224cb29285287f99b93be8209d4
KVM: selftests: Enable printf format warnings for TEST_ASSERT

Use the format attribute to enable printf format warnings, and
then fix them all.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/demand_paging_test.c
tools/testing/selftests/kvm/include/test_util.h
tools/testing/selftests/kvm/lib/kvm_util.c
tools/testing/selftests/kvm/x86_64/evmcs_test.c
tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c
tools/testing/selftests/kvm/x86_64/set_memory_region_test.c
tools/testing/selftests/kvm/x86_64/state_test.c
tools/testing/selftests/kvm/x86_64/svm_vmcall_test.c
tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c
tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c