summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-01-26 22:36:43 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-02-22 12:47:40 +0100
commitb8492bd430ecc1ceb80cac19b46870d423f1e854 (patch)
tree76c0a92c692751fe410846c0414dca0de068039e
parent1017e88701e745b1f2c1d9d7b5f5751d31414088 (diff)
downloadfocaccia-qemu-b8492bd430ecc1ceb80cac19b46870d423f1e854.tar.gz
focaccia-qemu-b8492bd430ecc1ceb80cac19b46870d423f1e854.zip
hw/acpi/cpu: Use CPUState typedef
QEMU coding style recommend using structure typedefs:
https://www.qemu.org/docs/master/devel/style.html#typedefs

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20240126220407.95022-2-philmd@linaro.org>
-rw-r--r--include/hw/acpi/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h
index e011d01adf..e6e1a9ef59 100644
--- a/include/hw/acpi/cpu.h
+++ b/include/hw/acpi/cpu.h
@@ -20,7 +20,7 @@
 #include "hw/hotplug.h"
 
 typedef struct AcpiCpuStatus {
-    struct CPUState *cpu;
+    CPUState *cpu;
     uint64_t arch_id;
     bool is_inserting;
     bool is_removing;