Received: from eggs.gnu.org ([208.118.235.92]:42728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StftP-0005zJ-QU for qemu-devel@nongnu.org; Tue, 24 Jul 2012 10:15:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StftI-0005SR-UT for qemu-devel@nongnu.org; Tue, 24 Jul 2012 10:15:19 -0400 Message-ID: <500EADEC.8000800@suse.de> Date: Tue, 24 Jul 2012 16:15:08 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1343139027-23659-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1343139027-23659-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] hw/escc: Drop duplicate definition of 'disabled' property List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-trivial@nongnu.org, Blue Swirl , patches@linaro.org, qemu-devel@nongnu.org, Alexander Graf Am 24.07.2012 16:10, schrieb Peter Maydell: > Drop a duplicate definition of the 'disabled' property from > the escc qdev property list: this redefinition is currently > effectively ignored but will become an error. (The duplication > was inadvertently introduced in 2009 in commit ec02f7dec2.) >=20 > Signed-off-by: Peter Maydell The mentioned commit turned 7 properties into 8, so it's no typo. Acked-by: Andreas F=E4rber /-F > --- > Other than the armv7m_nvic, this is the only other case of an > attempt to set a duplicate property that I could find in my > "start every machine QEMU implements" test... >=20 > hw/escc.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) >=20 > diff --git a/hw/escc.c b/hw/escc.c > index 4d8a8e8..e1f5e73 100644 > --- a/hw/escc.c > +++ b/hw/escc.c > @@ -905,7 +905,6 @@ static Property escc_properties[] =3D { > DEFINE_PROP_UINT32("frequency", SerialState, frequency, 0), > DEFINE_PROP_UINT32("it_shift", SerialState, it_shift, 0), > DEFINE_PROP_UINT32("disabled", SerialState, disabled, 0), > - DEFINE_PROP_UINT32("disabled", SerialState, disabled, 0), > DEFINE_PROP_UINT32("chnBtype", SerialState, chn[0].type, 0), > DEFINE_PROP_UINT32("chnAtype", SerialState, chn[1].type, 0), > DEFINE_PROP_CHR("chrB", SerialState, chn[0].chr), >=20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg