]> xenbits.xensource.com Git - people/aperard/qemu-dm.git/commitdiff
target/s390x: Fix a typo in s390_cpu_class_init()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 24 Mar 2025 16:53:56 +0000 (17:53 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 27 Mar 2025 07:59:35 +0000 (08:59 +0100)
Replace the comma at the end of the line by a semicolon.

Fixes: 41868f846d2 ("s390x/cpumodel: "host" and "qemu" as CPU subclasses")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250324165356.39540-1-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/cpu.c

index d73142600bff377429276ebbb21ee9febd5039e3..1f75629ddc292a2043036f8ea627f5a3729ec74b 100644 (file)
@@ -377,7 +377,7 @@ static void s390_cpu_class_init(ObjectClass *oc, void *data)
     resettable_class_set_parent_phases(rc, NULL, s390_cpu_reset_hold, NULL,
                                        &scc->parent_phases);
 
-    cc->class_by_name = s390_cpu_class_by_name,
+    cc->class_by_name = s390_cpu_class_by_name;
     cc->mmu_index = s390x_cpu_mmu_index;
     cc->dump_state = s390_cpu_dump_state;
     cc->query_cpu_fast = s390_query_cpu_fast;