From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9cmk-000115-78 for qemu-devel@nongnu.org; Tue, 22 Jul 2014 12:19:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9cmj-0007ns-El for qemu-devel@nongnu.org; Tue, 22 Jul 2014 12:19:26 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9cmj-0007mD-7U for qemu-devel@nongnu.org; Tue, 22 Jul 2014 12:19:25 -0400 From: Peter Maydell Date: Tue, 22 Jul 2014 17:19:17 +0100 Message-Id: <1406045957-11127-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH] hw/misc/imx_ccm.c: Add missing VMState list terminator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-stable@nongnu.org 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 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