From: Peter Maydell Date: Tue, 13 Aug 2024 16:52:45 +0000 (+0100) Subject: hw/dma/xilinx_axidma: Use semicolon at end of statement, not comma X-Git-Tag: qemu-xen-4.20.0~13^2~13 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=dfad8421af474a38e272cdb19ae3c8e778acf820;p=qemu-xen.git hw/dma/xilinx_axidma: Use semicolon at end of statement, not comma In axidma_class_init() we accidentally used a comma at the end of a statement rather than a semicolon. This has no ill effects, but it's obviously not intended and it means that Coccinelle scripts for instance will fail to match on the two statements. Use a semicolon instead. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-ID: <20240813165250.2717650-6-peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c index c9cfc3169b..7707634253 100644 --- a/hw/dma/xilinx_axidma.c +++ b/hw/dma/xilinx_axidma.c @@ -626,7 +626,7 @@ static void axidma_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); - dc->realize = xilinx_axidma_realize, + dc->realize = xilinx_axidma_realize; dc->reset = xilinx_axidma_reset; device_class_set_props(dc, axidma_properties); }