From patchwork Sat Sep 14 19:47:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 274944 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6A5012C00FF for ; Sun, 15 Sep 2013 05:59:31 +1000 (EST) Received: from localhost ([::1]:54439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKw09-0005RU-6O for incoming@patchwork.ozlabs.org; Sat, 14 Sep 2013 15:59:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKvyR-0002lQ-Ms for qemu-devel@nongnu.org; Sat, 14 Sep 2013 15:57:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKvyG-0000jQ-Gp for qemu-devel@nongnu.org; Sat, 14 Sep 2013 15:57:43 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:39498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKvyG-0000ix-95; Sat, 14 Sep 2013 15:57:32 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id EBB92411C1; Sat, 14 Sep 2013 23:57:30 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 4FF444E1; Sat, 14 Sep 2013 23:47:44 +0400 (MSK) Received: (nullmailer pid 7722 invoked by uid 1000); Sat, 14 Sep 2013 19:47:44 -0000 From: Michael Tokarev To: aliguori@us.ibm.com Date: Sat, 14 Sep 2013 23:47:40 +0400 Message-Id: <1379188061-7634-15-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1379188061-7634-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1379188061-7634-1-git-send-email-mjt@msgid.tls.msk.ru> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Michael Tokarev , qemu-devel@nongnu.org, Richard Henderson Subject: [Qemu-devel] [PULL 14/15] tcg-sparc: Fix parenthesis warning X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Richard Henderson error: suggest parentheses around comparison in operand of ‘&’ [-Werror=parentheses] Signed-off-by: Richard Henderson Signed-off-by: Michael Tokarev --- tcg/sparc/tcg-target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index 2edf858..1ff2922 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -153,7 +153,7 @@ typedef enum { static inline void flush_icache_range(uintptr_t start, uintptr_t stop) { uintptr_t p; - for (p = start & -8; p < (stop + 7) & -8; p += 8) { + for (p = start & -8; p < ((stop + 7) & -8); p += 8) { __asm__ __volatile__("flush\t%0" : : "r" (p)); } }