[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 1/7] s390x/ccw: fix oddity in machine class init
From: |
Cornelia Huck |
Subject: |
[Qemu-devel] [PULL v2 1/7] s390x/ccw: fix oddity in machine class init |
Date: |
Thu, 18 Dec 2014 17:34:21 +0100 |
ccw_machine_class_init() uses ',' instead of ';' while initializing
the class' fields. This is almost certainly a copy/paste error and,
while legal C, rather on the unusual side. Just use ';' everywhere.
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
---
hw/s390x/s390-virtio-ccw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
index bc4dc2a..f7b750d 100644
--- a/hw/s390x/s390-virtio-ccw.c
+++ b/hw/s390x/s390-virtio-ccw.c
@@ -181,7 +181,7 @@ static void ccw_machine_class_init(ObjectClass *oc, void
*data)
mc->no_serial = 1;
mc->no_parallel = 1;
mc->no_sdcard = 1;
- mc->use_sclp = 1,
+ mc->use_sclp = 1;
mc->max_cpus = 255;
nc->nmi_monitor_handler = s390_nmi;
}
--
1.7.9.5
- [Qemu-devel] [PULL v2 0/7] s390x patches for 2.3, Cornelia Huck, 2014/12/18
- [Qemu-devel] [PULL v2 1/7] s390x/ccw: fix oddity in machine class init,
Cornelia Huck <=
- [Qemu-devel] [PULL v2 5/7] s390: Add PCI bus support, Cornelia Huck, 2014/12/18
- [Qemu-devel] [PULL v2 2/7] s390x/css: Clean up unnecessary CONFIG_USER_ONLY wrappers, Cornelia Huck, 2014/12/18
- [Qemu-devel] [PULL v2 3/7] s390x/kvm: sync register support helper function, Cornelia Huck, 2014/12/18
- [Qemu-devel] [PULL v2 4/7] s390x/kvm: avoid syscalls by syncing registers with kvm_run, Cornelia Huck, 2014/12/18
- [Qemu-devel] [PULL v2 7/7] kvm: extend kvm_irqchip_add_msi_route to work on s390, Cornelia Huck, 2014/12/18
- [Qemu-devel] [PULL v2 6/7] s390: implement pci instructions, Cornelia Huck, 2014/12/18
- Re: [Qemu-devel] [PULL v2 0/7] s390x patches for 2.3, Peter Maydell, 2014/12/20