]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/dma/xilinx_axidma: Use semicolon at end of statement, not comma
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 13 Aug 2024 16:52:45 +0000 (17:52 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 19 Aug 2024 22:38:48 +0000 (00:38 +0200)
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 <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240813165250.2717650-6-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/dma/xilinx_axidma.c

index c9cfc3169b85bc977f83ee0e5215419e584fcce6..7707634253a05bfdc2c918cddff4ee64ca59e888 100644 (file)
@@ -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);
 }