Skip to contentSkip to conversation

target/s390x: Fix a typo in s390_cpu_class_init()

PATCH New Philippe Mathieu-Daudé 1 participant 1 message Mar 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 target/s390x: Fix a typo in s390_cpu_class_init()

Replace the comma at the end of the line by a semicolon.

Fixes 41868f846d2 ("s390x/cpumodel: "host" and "qemu" as CPU subclasses")
---
 target/s390x/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/s390x/cpu.c +1 -1
index 7ca34002d37..8449bfee5a9 100644
@@ -384,7 +384,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;
Signature · 1 line
2.47.1