From patchwork Wed Aug 6 20:39:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 35004 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4FEF420523 for ; Wed, 6 Aug 2014 22:04:40 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id v1sf10059893yhn.0 for ; Wed, 06 Aug 2014 15:04:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=vleKoAypsLImcxQgme/tE9nbRca0kdiCffc4TjsAhsg=; b=Wz94ftex9+OBmLWFZWja+FPXYDokpTpSZ1DYa6vMr0RsZ362T8GW9rUdD9E5BTWD4R FMzofgL91bfDjx7ZicCRKDa8HUFOtLwNOLJT3FIO7thooG0t+qeMFz55gYAlHxaKBuj+ S9JMmDUyvuqaVj6G5yqNfTuHKtIRK2lrI2HzZYg1jQar1pngIZ4MkT100Vx1VjSomtQc bEwmBHQxh/VCbiG+JIvQcpm8l4FgLrxEBq/QYrlS1Zr7cyayPZHcCvkrf7aEziBwxtve 69ZI8WdHg7bV7HVcD20FIvds55rGPmeZni5/k4Gx3FIvHPgEiebN+uLvvN5FyFCyeG1i gWfA== X-Gm-Message-State: ALoCoQkN8CIbL/H80/Xu1NAQAz9OLSYodUJnpy3PB8ZchV46sJWEYihos1ZnZd3jfk7LUVrYJPKJ X-Received: by 10.236.44.205 with SMTP id n53mr6924055yhb.12.1407362680141; Wed, 06 Aug 2014 15:04:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.94.210 with SMTP id g76ls227681qge.74.gmail; Wed, 06 Aug 2014 15:04:40 -0700 (PDT) X-Received: by 10.52.168.134 with SMTP id zw6mr11034064vdb.37.1407362679987; Wed, 06 Aug 2014 15:04:39 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id yx9si1016396vcb.22.2014.08.06.15.04.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Aug 2014 15:04:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so5059372vcb.36 for ; Wed, 06 Aug 2014 15:04:39 -0700 (PDT) X-Received: by 10.220.163.130 with SMTP id a2mr4178775vcy.52.1407362679921; Wed, 06 Aug 2014 15:04:39 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp61404vcb; Wed, 6 Aug 2014 15:04:39 -0700 (PDT) X-Received: by 10.140.19.100 with SMTP id 91mr7432551qgg.32.1407362679302; Wed, 06 Aug 2014 15:04:39 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p18si3679280qga.38.2014.08.06.15.04.39 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Aug 2014 15:04:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:41898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF9K2-0003Ar-Rw for patch@linaro.org; Wed, 06 Aug 2014 18:04:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF85K-0003wB-OY for qemu-devel@nongnu.org; Wed, 06 Aug 2014 16:45:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XF84s-0006C5-7O for qemu-devel@nongnu.org; Wed, 06 Aug 2014 16:45:22 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:36532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF84r-0006Bu-Vd for qemu-devel@nongnu.org; Wed, 06 Aug 2014 16:44:54 -0400 Received: from /spool/local by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 6 Aug 2014 14:44:53 -0600 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 6 Aug 2014 14:44:50 -0600 Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 0837E1FF003F; Wed, 6 Aug 2014 14:44:49 -0600 (MDT) Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by b03cxnp08028.gho.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s76KinMB7405964; Wed, 6 Aug 2014 22:44:49 +0200 Received: from d03av05.boulder.ibm.com (localhost [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s76KinbR023762; Wed, 6 Aug 2014 14:44:49 -0600 Received: from localhost ([9.80.101.111]) by d03av05.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s76Kimsk023733; Wed, 6 Aug 2014 14:44:49 -0600 From: Michael Roth To: qemu-devel@nongnu.org Date: Wed, 6 Aug 2014 15:39:57 -0500 Message-Id: <1407357598-21541-108-git-send-email-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407357598-21541-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1407357598-21541-1-git-send-email-mdroth@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14080620-8236-0000-0000-000004685830 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 32.97.110.149 Cc: qemu-stable@nongnu.org Subject: [Qemu-devel] [PATCH 107/108] hw/misc/imx_ccm.c: Add missing VMState list terminator X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mdroth@linux.vnet.ibm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Peter Maydell 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 (cherry picked from commit ef493d5c291e4689d64ff4973915a7442109a5c5) Signed-off-by: Michael Roth --- 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 63e33a4..449183d 100644 --- a/hw/misc/imx_ccm.c +++ b/hw/misc/imx_ccm.c @@ -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, };