[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/13] target/i386/hvf: fix clang compilation warning
From: |
Paolo Bonzini |
Subject: |
[PULL 02/13] target/i386/hvf: fix clang compilation warning |
Date: |
Fri, 8 Nov 2024 18:38:17 +0100 |
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
../target/i386/hvf/x86_cpuid.c:35:28: error: a function declaration without a
prototype is deprecated in all versions of C
Fixes: 7cac7aa7040a823c585f1578a38f28e83c8bf3e1
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Link:
20241104222102.1522688-1-pierrick.bouvier@linaro.org">https://lore.kernel.org/r/20241104222102.1522688-1-pierrick.bouvier@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target/i386/hvf/x86_cpuid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/i386/hvf/x86_cpuid.c b/target/i386/hvf/x86_cpuid.c
index 3a116548a3d..492e8bfc809 100644
--- a/target/i386/hvf/x86_cpuid.c
+++ b/target/i386/hvf/x86_cpuid.c
@@ -32,7 +32,7 @@
static bool cached_xcr0;
static uint64_t supported_xcr0;
-static void cache_host_xcr0()
+static void cache_host_xcr0(void)
{
if (cached_xcr0) {
return;
--
2.47.0
- [PULL 00/13] (Almost entirely) bugfix changes for QEMU 9.2 hard freeze, Paolo Bonzini, 2024/11/08
- [PULL 01/13] target/i386: add sha512, sm3, sm4 feature bits, Paolo Bonzini, 2024/11/08
- [PULL 02/13] target/i386/hvf: fix clang compilation warning,
Paolo Bonzini <=
- [PULL 03/13] rust: add meson_version to all subprojects, Paolo Bonzini, 2024/11/08
- [PULL 04/13] target/i386: Fix legacy page table walk, Paolo Bonzini, 2024/11/08
- [PULL 05/13] eif: cope with huge section offsets, Paolo Bonzini, 2024/11/08
- [PULL 07/13] i386/hvf: Integrates x2APIC support with hvf accel, Paolo Bonzini, 2024/11/08
- [PULL 06/13] eif: cope with huge section sizes, Paolo Bonzini, 2024/11/08
- [PULL 09/13] i386/hvf: Fixes startup memory leak (vmcs caps), Paolo Bonzini, 2024/11/08
- [PULL 08/13] i386/hvf: Fix for UB in handling CPUID function 0xD, Paolo Bonzini, 2024/11/08
- [PULL 10/13] i386/hvf: Raise exception on error setting APICBASE, Paolo Bonzini, 2024/11/08