From owner-svn-src-head@FreeBSD.ORG Fri Jun 5 17:18:11 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B1FD5CD; Fri, 5 Jun 2015 17:18:11 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28EB8188B; Fri, 5 Jun 2015 17:18:11 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t55HIBo8026497; Fri, 5 Jun 2015 17:18:11 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t55HIBc3026496; Fri, 5 Jun 2015 17:18:11 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201506051718.t55HIBc3026496@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Fri, 5 Jun 2015 17:18:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284041 - head/contrib/dtc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2015 17:18:11 -0000 Author: sbruno Date: Fri Jun 5 17:18:10 2015 New Revision: 284041 URL: https://svnweb.freebsd.org/changeset/base/284041 Log: Silence clang warning about extraneous parenthesis Verified that this exists upstream already: https://git.kernel.org/cgit/utils/dtc/dtc.git/tree/checks.c#n628 Differential Revision: https://reviews.freebsd.org/D913 Reviewed by: imp Modified: head/contrib/dtc/checks.c Modified: head/contrib/dtc/checks.c ============================================================================== --- head/contrib/dtc/checks.c Fri Jun 5 17:09:59 2015 (r284040) +++ head/contrib/dtc/checks.c Fri Jun 5 17:18:10 2015 (r284041) @@ -624,11 +624,11 @@ static void check_avoid_default_addr_siz if (!reg && !ranges) return; - if ((node->parent->addr_cells == -1)) + if (node->parent->addr_cells == -1) FAIL(c, "Relying on default #address-cells value for %s", node->fullpath); - if ((node->parent->size_cells == -1)) + if (node->parent->size_cells == -1) FAIL(c, "Relying on default #size-cells value for %s", node->fullpath); }