[PATCH v3 51/74] arm: Fix typo in AARCH64_CPU_GET_CLASS definition

Eduardo Habkost posted 74 patches 5 years, 5 months ago
There is a newer version of this series
[PATCH v3 51/74] arm: Fix typo in AARCH64_CPU_GET_CLASS definition
Posted by Eduardo Habkost 5 years, 5 months ago
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.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
Changes series v2 -> v3: new patch added to series v3

---
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-arm@nongnu.org
Cc: qemu-devel@nongnu.org
---
 target/arm/cpu-qom.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/arm/cpu-qom.h b/target/arm/cpu-qom.h
index 56395b87f6..fdef05cacf 100644
--- a/target/arm/cpu-qom.h
+++ b/target/arm/cpu-qom.h
@@ -67,7 +67,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 >*/
-- 
2.26.2


Re: [PATCH v3 51/74] arm: Fix typo in AARCH64_CPU_GET_CLASS definition
Posted by Peter Maydell 5 years, 5 months ago
On Tue, 25 Aug 2020 at 20:23, Eduardo Habkost <ehabkost@redhat.com> wrote:
>
> 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.
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> Changes series v2 -> v3: new patch added to series v3

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM