From patchwork Fri Sep 20 16:58:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 276558 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 2EAA22C014F for ; Sat, 21 Sep 2013 03:18:29 +1000 (EST) Received: from localhost ([::1]:57081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN4Lb-0007Cx-7E for incoming@patchwork.ozlabs.org; Fri, 20 Sep 2013 13:18:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN4L4-00078S-NW for qemu-devel@nongnu.org; Fri, 20 Sep 2013 13:17:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN4Kz-00068D-5T for qemu-devel@nongnu.org; Fri, 20 Sep 2013 13:17:54 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:53985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN4Ky-00067Z-TH; Fri, 20 Sep 2013 13:17:49 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id DA264419CC; Fri, 20 Sep 2013 21:17:47 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 60E0F517; Fri, 20 Sep 2013 20:58:22 +0400 (MSK) Received: (nullmailer pid 32192 invoked by uid 1000); Fri, 20 Sep 2013 16:58:21 -0000 From: Michael Tokarev To: aliguori@us.ibm.com Date: Fri, 20 Sep 2013 20:58:13 +0400 Message-Id: <1379696296-32105-15-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1379696296-32105-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1379696296-32105-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/17] 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)); } }