[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 69/71] util/fifo8: Constify VMState
From: |
Richard Henderson |
Subject: |
[PULL 69/71] util/fifo8: Constify VMState |
Date: |
Sat, 30 Dec 2023 08:23:44 +1100 |
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-70-richard.henderson@linaro.org>
---
util/fifo8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/fifo8.c b/util/fifo8.c
index d4d1c135e0..de8fd0f1c5 100644
--- a/util/fifo8.c
+++ b/util/fifo8.c
@@ -109,7 +109,7 @@ const VMStateDescription vmstate_fifo8 = {
.name = "Fifo8",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_VBUFFER_UINT32(data, Fifo8, 1, NULL, capacity),
VMSTATE_UINT32(head, Fifo8),
VMSTATE_UINT32(num, Fifo8),
--
2.34.1
- [PULL 62/71] hw/misc/macio: Constify VMState, (continued)
- [PULL 62/71] hw/misc/macio: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 67/71] system: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 61/71] hw/watchdog: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 68/71] replay: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 65/71] cpu-target: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 66/71] migration: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 59/71] hw/vfio: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 60/71] hw/virtio: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 64/71] backends: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 63/71] audio: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 69/71] util/fifo8: Constify VMState,
Richard Henderson <=
- [PULL 70/71] tests/unit/test-vmstate: Constify VMState, Richard Henderson, 2023/12/29
- [PULL 71/71] docs: Constify VMstate in examples, Richard Henderson, 2023/12/29