From cefb1666c060babca9d36e14d71454e6426decb2 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Mon, 1 Mar 2021 18:03:20 -0500 Subject: [PATCH] arm: Fix typo in AARCH64_CPU_GET_CLASS definition There's a typo in the type name of AARCH64_CPU_GET_CLASS. This was never detected because the macro is not used by any code. Backports 37e3d65043229bb20bd07af74dc0866e12071415 --- qemu/target/arm/cpu-qom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target/arm/cpu-qom.h b/qemu/target/arm/cpu-qom.h index 888e0aea..b7cce29c 100644 --- a/qemu/target/arm/cpu-qom.h +++ b/qemu/target/arm/cpu-qom.h @@ -63,7 +63,7 @@ typedef struct ARMCPU ARMCPU; #define AARCH64_CPU_CLASS(klass) \ OBJECT_CLASS_CHECK(AArch64CPUClass, (klass), TYPE_AARCH64_CPU) #define AARCH64_CPU_GET_CLASS(obj) \ - OBJECT_GET_CLASS(AArch64CPUClass, (obj), TYPE_AArch64_CPU) + OBJECT_GET_CLASS(AArch64CPUClass, (obj), TYPE_AARCH64_CPU) typedef struct AArch64CPUClass { /*< private >*/