]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commitdiff
hw/misc/imx_ccm.c: Add missing VMState list terminator
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 22 Jul 2014 16:10:01 +0000 (17:10 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 6 Aug 2014 19:55:49 +0000 (14:55 -0500)
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
(cherry picked from commit ef493d5c291e4689d64ff4973915a7442109a5c5)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/misc/imx_ccm.c

index 63e33a41dac45cc3c751c936777434f54dd98c65..449183dd900a224861b2b74cafef98aa28092445 100644 (file)
@@ -68,6 +68,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,
 };