[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-9.2 05/10] hw/dma/xilinx_axidma: Use semicolon at end of stat
From: |
Peter Maydell |
Subject: |
[PATCH for-9.2 05/10] hw/dma/xilinx_axidma: Use semicolon at end of statement, not comma |
Date: |
Tue, 13 Aug 2024 17:52:45 +0100 |
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>
---
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 c9cfc3169b8..7707634253a 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);
}
--
2.34.1
- [PATCH for-9.2 02/10] target/s390: Convert CPU to Resettable interface, (continued)
- [PATCH for-9.2 02/10] target/s390: Convert CPU to Resettable interface, Peter Maydell, 2024/08/13
- [PATCH for-9.2 03/10] hw: Remove device_class_set_parent_reset(), Peter Maydell, 2024/08/13
- [PATCH for-9.2 04/10] target/alpha, hppa: Remove unused parent_reset fields, Peter Maydell, 2024/08/13
- [PATCH for-9.2 05/10] hw/dma/xilinx_axidma: Use semicolon at end of statement, not comma,
Peter Maydell <=
- [PATCH for-9.2 09/10] hw: Rename DeviceClass::reset field to legacy_reset, Peter Maydell, 2024/08/13
- [PATCH for-9.2 06/10] hw/remote/message.c: Don't directly invoke DeviceClass:reset, Peter Maydell, 2024/08/13
- [PATCH for-9.2 07/10] hw: Define new device_class_set_legacy_reset(), Peter Maydell, 2024/08/13