Received: from eggs.gnu.org ([2001:4830:134:3::10]:44878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Kw-000277-DA for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:14:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6Kr-00047v-Ad for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:14:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Kr-00047O-4i for qemu-devel@nongnu.org; Thu, 23 Jun 2016 11:14:29 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A27A13F72C for ; Thu, 23 Jun 2016 15:14:28 +0000 (UTC) Date: Thu, 23 Jun 2016 12:14:25 -0300 From: Eduardo Habkost Message-ID: <20160623151425.GZ2048@thinpad.lan.raisama.net> References: <1466510680-13106-1-git-send-email-pbonzini@redhat.com> <20160621142429.5094b825@igors-macbook-pro.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160621142429.5094b825@igors-macbook-pro.local> Subject: Re: [Qemu-devel] [PATCH] target-i386: avoid using locals outside their scope List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Paolo Bonzini , qemu-devel@nongnu.org On Tue, Jun 21, 2016 at 02:24:29PM +0200, Igor Mammedov wrote: > On Tue, 21 Jun 2016 14:04:40 +0200 > Paolo Bonzini wrote: > > > x86_cpu_parse_featurestr has a "val = num;" assignment just before num > > goes out of scope. Push num up to fix the issue. > > > > Signed-off-by: Paolo Bonzini > Reviewed-by: Igor Mammedov Applied to x86-next. Thanks. -- Eduardo