hw/misc/imx_ccm.c: Add missing VMState list terminator
PATCH 1/1 hw/misc/imx_ccm.c: Add missing VMState list terminator
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 <[email protected]>
---
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(+)
hw/misc/imx_ccm.c +1 -0
@@ -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, };
Signature · 1 line
1.9.1