* [Qemu-devel] [PATCH] hw/misc/imx_ccm.c: Add missing VMState list terminator
@ 2014-07-22 16:19 Peter Maydell
0 siblings, 0 replies; only message in thread
From: Peter Maydell @ 2014-07-22 16:19 UTC (permalink / raw)
To: qemu-devel; +Cc: Paolo Bonzini, qemu-stable
The VMStateDescription for the imx_ccm device was missing its
terminator. Found by static search of the codebase using
a regex based on one suggested by Ian Jackson:
pcregrep -rMi '(?s)VMStateField(?:(?!END_OF_LIST).)*?;' $(git grep -l 'VMStateField\[\]')
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-stable@nongnu.org
---
Check prompted by Laszlo's recent patch, obviously. This plus
hcd-xhci.c are the only missing-terminator cases I found.
hw/misc/imx_ccm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/misc/imx_ccm.c b/hw/misc/imx_ccm.c
index 750b906..0920288 100644
--- a/hw/misc/imx_ccm.c
+++ b/hw/misc/imx_ccm.c
@@ -67,6 +67,7 @@ static const VMStateDescription vmstate_imx_ccm = {
VMSTATE_UINT32(pmcr0, IMXCCMState),
VMSTATE_UINT32(pmcr1, IMXCCMState),
VMSTATE_UINT32(pll_refclk_freq, IMXCCMState),
+ VMSTATE_END_OF_LIST()
},
.post_load = imx_ccm_post_load,
};
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-22 16:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-22 16:19 [Qemu-devel] [PATCH] hw/misc/imx_ccm.c: Add missing VMState list terminator Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).