From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPUHb-0003Kf-3B for qemu-devel@nongnu.org; Mon, 17 Mar 2014 05:56:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPUHW-0004mZ-79 for qemu-devel@nongnu.org; Mon, 17 Mar 2014 05:56:35 -0400 Message-ID: <5326C6BB.40105@redhat.com> Date: Mon, 17 Mar 2014 10:56:11 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1394978621-19738-1-git-send-email-sw@weilnetz.de> In-Reply-To: <1394978621-19738-1-git-send-email-sw@weilnetz.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] target-i386: Add missing 'static' and 'const' attributes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil , qemu-trivial@nongnu.org Cc: Marcelo Tosatti , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, kvm@vger.kernel.org, =?ISO-8859-15?Q?Andreas_?= =?ISO-8859-15?Q?F=E4rber?= Il 16/03/2014 15:03, Stefan Weil ha scritto: > This fixes warnings from the static code analysis (smatch). > > Signed-off-by: Stefan Weil > --- > > Why is array para_features in kvm.c terminated by a dummy entry? > It is only used in a for loop with upper limit ARRAY_SIZE(para_features) - 1. No particular reason. Paolo