[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 66/67] tests/unit: Constify all Property
From: |
Richard Henderson |
Subject: |
[PULL 66/67] tests/unit: Constify all Property |
Date: |
Sun, 15 Dec 2024 13:05:32 -0600 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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
- [PULL 57/67] hw/ssi: Constify all Property, (continued)
- [PULL 57/67] hw/ssi: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 60/67] hw/ufs: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 59/67] hw/tpm: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 49/67] hw/riscv: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 64/67] hw/watchdog: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 63/67] hw/virtio: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 55/67] hw/sparc: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 67/67] docs: Constify all Property in examples, Richard Henderson, 2024/12/15
- [PULL 61/67] hw/usb: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 62/67] hw/vfio: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 66/67] tests/unit: Constify all Property,
Richard Henderson <=
- [PULL 56/67] hw/sparc64: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 65/67] hw/xen: Constify all Property, Richard Henderson, 2024/12/15
- Re: [PULL 00/67] Constify almost all Property, Stefan Hajnoczi, 2024/12/16