From patchwork Wed Jun 21 12:59:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 9801805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C620D6038C for ; Wed, 21 Jun 2017 13:13:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B60E928420 for ; Wed, 21 Jun 2017 13:13:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AAB652856F; Wed, 21 Jun 2017 13:13:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3047F28420 for ; Wed, 21 Jun 2017 13:13:09 +0000 (UTC) Received: from localhost ([::1]:53870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNfRU-000210-68 for patchwork-qemu-devel@patchwork.kernel.org; Wed, 21 Jun 2017 09:13:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNfEA-0008BX-Gf for qemu-devel@nongnu.org; Wed, 21 Jun 2017 08:59:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNfE7-0008Si-Nn for qemu-devel@nongnu.org; Wed, 21 Jun 2017 08:59:22 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:34288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNfE7-0008SA-GU for qemu-devel@nongnu.org; Wed, 21 Jun 2017 08:59:19 -0400 Received: by mail-lf0-x243.google.com with SMTP id l200so9421104lfg.1 for ; Wed, 21 Jun 2017 05:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AJL2fiO7N1F18qv76lpakxL2Ds0prNhZn8GX7aae2XA=; b=PJWsoFP+FQqUaGW0gYmymEdXe4Fy5CCIuYYn3TBfveW9fALxikOw7PrN0GoYsfdnO8 6Rio25awSE2wNFLIGb0XSuaaKGNkHAEysgkHel8wNqvDzOSeUqShFLmRYTiw86HJPT/f oOrvR2ZIvCJy1gX0Y9LieE4eOIaCX1jxBBfpN1dvtofKamO/eqIO7Id3NbkmfmdgJZ2y ywJHi3G7qdT5cmsraA0tpGdvakLM/zBxRfSD00g85i43vWGYy4XmW5FdCwc2mUVDx+hh kXOhkPuONsBr0WRmNV0FJO9U0Zv9QYl5NuF/NcJj+ElDjQ/JzpVtHbKv8vwYKux8bc47 6c9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AJL2fiO7N1F18qv76lpakxL2Ds0prNhZn8GX7aae2XA=; b=SdTHbNKgD1hfEoqMdF676EYIgBKSaYt19dT5TfEmPskLjselEnl0PALZQZ2OMBnVlL n5DhP+It42ZQ0QPh/hyvlCJBhwBL66FyqVjbgL2AngvwV/NZKWVZkfFPSmJlGE8R79ZK nWu0PFLYhF1HNq9wF/xnWByEzkOe4oCgGe6BynP2rHsMOnAherZxWyxq0edoY8TEpFhH BHKMSIfCN+8OqBNwE5LyBItC3OyR6riJJkAlIpGwGVnL7NiU6+YNlZnuHWm/7NCAhZOD 4BAS+xEetMDiR7GjKQ5u3V1taghxffiasR+tQ7MV98LZ6H0r24h67sfhsYDgTrau4CJY WExw== X-Gm-Message-State: AKS2vOxEQfzFE2SoliVsbMJNNfT5mutUCykIroLR7xcaQF42qCfvPUfp +TAZINMT9P1UB6QW X-Received: by 10.25.195.81 with SMTP id t78mr11795349lff.73.1498049957923; Wed, 21 Jun 2017 05:59:17 -0700 (PDT) Received: from localhost (81-231-233-234-no56.tbcn.telia.com. [81.231.233.234]) by smtp.gmail.com with ESMTPSA id s6sm3656413ljd.27.2017.06.21.05.59.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 05:59:17 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Date: Wed, 21 Jun 2017 14:59:09 +0200 Message-Id: <1498049955-28646-2-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1498049955-28646-1-git-send-email-edgar.iglesias@gmail.com> References: <1498049955-28646-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::243 Subject: [Qemu-devel] [PATCH v2 1/7] target-microblaze: dec_barrel: Use bool instead of unsigned int X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sai.pavan.boddu@xilinx.com, edgar.iglesias@xilinx.com, alistai@xilinx.com, rth@twiddle.net Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Use bool instead of unsigned int to represent flags. No functional change. Reviewed-by: Richard Henderson Signed-off-by: Edgar E. Iglesias --- target/microblaze/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index fbb8bb4..4136a8e 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -660,7 +660,7 @@ static void dec_div(DisasContext *dc) static void dec_barrel(DisasContext *dc) { TCGv t0; - unsigned int s, t; + bool s, t; if ((dc->tb_flags & MSR_EE_FLAG) && (dc->cpu->env.pvr.regs[2] & PVR2_ILL_OPCODE_EXC_MASK)