From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGvUV-0007MT-Rh for qemu-devel@nongnu.org; Fri, 21 Feb 2014 14:10:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGvUQ-0001Ch-1u for qemu-devel@nongnu.org; Fri, 21 Feb 2014 14:10:31 -0500 Sender: Richard Henderson Message-ID: <5307A48E.2030700@twiddle.net> Date: Fri, 21 Feb 2014 13:10:06 -0600 From: Richard Henderson MIME-Version: 1.0 References: <1393003115-9801-1-git-send-email-sw@weilnetz.de> In-Reply-To: <1393003115-9801-1-git-send-email-sw@weilnetz.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tcg: Fix warning (1 bit signed bitfield entry) and replace int by bool List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil , qemu-trivial@nongnu.org Cc: Claudio Fontana , qemu-devel@nongnu.org On 02/21/2014 11:18 AM, Stefan Weil wrote: > Static code analyzers complain about signed bitfields with only a single > bit. is_ld is used as a boolean value, so make it bool. > > ppc64 already used bool for the 2nd argument is_ld of the local function > add_qemu_ldst_label. Modify all other TCG targets to do follow this > example. > > Signed-off-by: Stefan Weil > --- > tcg/aarch64/tcg-target.c | 6 +++--- > tcg/arm/tcg-target.c | 6 +++--- > tcg/i386/tcg-target.c | 6 +++--- > tcg/ppc/tcg-target.c | 6 +++--- > tcg/tcg-be-ldst.h | 2 +- > 5 files changed, 13 insertions(+), 13 deletions(-) Applied to a tcg-next tree. r~