[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 70/71] tests/unit: Constify all Property
From: |
Richard Henderson |
Subject: |
[PATCH 70/71] tests/unit: Constify all Property |
Date: |
Fri, 13 Dec 2024 13:31:03 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tests/unit/test-qdev-global-props.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/unit/test-qdev-global-props.c
b/tests/unit/test-qdev-global-props.c
index c8862cac5f..1eb95d2429 100644
--- a/tests/unit/test-qdev-global-props.c
+++ b/tests/unit/test-qdev-global-props.c
@@ -46,7 +46,7 @@ struct MyType {
uint32_t prop2;
};
-static Property static_props[] = {
+static const Property static_props[] = {
DEFINE_PROP_UINT32("prop1", MyType, prop1, PROP_DEFAULT),
DEFINE_PROP_UINT32("prop2", MyType, prop2, PROP_DEFAULT),
DEFINE_PROP_END_OF_LIST()
--
2.43.0
- [PATCH 66/71] hw/virtio: Constify all Property, (continued)
- [PATCH 66/71] hw/virtio: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 65/71] hw/vfio: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 68/71] hw/xen: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 67/71] hw/watchdog: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 69/71] hw/xen: Use DEFINE_PROP_END_OF_LIST in xen_sysdev_properties, Richard Henderson, 2024/12/13
- [PATCH 70/71] tests/unit: Constify all Property,
Richard Henderson <=
- [PULL 4/4] target/sparc: Use memcpy() and remove memcpy32(), Richard Henderson, 2024/12/13
- Re: [PATCH 00/71] whole-tree: Constify Property structures, Philippe Mathieu-Daudé, 2024/12/13
- [PATCH 23/71] hw/cxl: Constify all Property, Richard Henderson, 2024/12/13
- Re: [PATCH 00/71] whole-tree: Constify Property structures, Bernhard Beschow, 2024/12/14
- Re: [PATCH 00/71] whole-tree: Constify Property structures, Paolo Bonzini, 2024/12/15