43 lines
1.6 KiB
Diff
43 lines
1.6 KiB
Diff
|
|
From 1816af81d099d0ab7dc434a42e7218184894e3ef Mon Sep 17 00:00:00 2001
|
||
|
|
From: Peter Maydell <peter.maydell@linaro.org>
|
||
|
|
Date: Tue, 13 Aug 2024 17:52:45 +0100
|
||
|
|
Subject: [PATCH] hw/dma/xilinx_axidma: Use semicolon at end of statement, not
|
||
|
|
comma
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
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
|
||
|
|
(cherry picked from commit dfad8421af474a38e272cdb19ae3c8e778acf820)
|
||
|
|
Signed-off-by: zhujun2 <zhujun2_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
hw/dma/xilinx_axidma.c | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c
|
||
|
|
index bc383f53cc..5044fb146d 100644
|
||
|
|
--- a/hw/dma/xilinx_axidma.c
|
||
|
|
+++ b/hw/dma/xilinx_axidma.c
|
||
|
|
@@ -598,7 +598,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);
|
||
|
|
}
|
||
|
|
--
|
||
|
|
2.41.0.windows.1
|
||
|
|
|