From patchwork Thu Mar 31 16:46:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 64804 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp263715lbc; Thu, 31 Mar 2016 09:46:33 -0700 (PDT) X-Received: by 10.98.65.215 with SMTP id g84mr23246959pfd.94.1459442793667; Thu, 31 Mar 2016 09:46:33 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o63si15123843pfi.141.2016.03.31.09.46.33; Thu, 31 Mar 2016 09:46:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756973AbcCaQqc (ORCPT + 7 others); Thu, 31 Mar 2016 12:46:32 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]:34503 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756150AbcCaQqb (ORCPT ); Thu, 31 Mar 2016 12:46:31 -0400 Received: by mail-ob0-f178.google.com with SMTP id kf9so102250278obc.1; Thu, 31 Mar 2016 09:46:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WMKhYtCe2yWTlv/Nzscgm9AhRvse3GgzNviM/CZzEVk=; b=cdKBXFxgknWCDNQ1feCvpSQs8DVIYj8hzsv7AX0U/VYZiR6fkWjWuGATCt/AMBNO8V nbgYEY+HKW/urlkE82tVCi+gal4PW5o2k5LSXQi4Il/aRhV34l4F3WaF3gDNIru0VAog f8xqL5uZYIYmjEyqZsS60E4hG67owuxtL16PRc4gDvL2aus++TpRfQz3XJyL1ZOGVTJq JFcqf9DdyF9KlSWuHI5j5Br8hX8QqBUxMwSpbBkJ51JYnPxPNGM0vByNGjUTkWhryk5z RHEpz7AmvxbDx+VZtJ+p89xHE11u3xmgWHaPr0R7GxnSY/JitXrIxzm/jaxWqRVLMpbM 8PzA== X-Gm-Message-State: AD7BkJIK5KKhFt2Mlurdu6daJBv0CUiFsVQsFbd++S3ITzDPOJS2qsl9GqgkMnExbMzUxg== X-Received: by 10.60.150.235 with SMTP id ul11mr2333849oeb.70.1459442790535; Thu, 31 Mar 2016 09:46:30 -0700 (PDT) Received: from rob-hp-laptop.herring.priv (72-48-98-129.dyn.grandenetworks.net. [72.48.98.129]) by smtp.googlemail.com with ESMTPSA id ed8sm2868421obb.19.2016.03.31.09.46.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2016 09:46:30 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Michal Marek , linux-kbuild@vger.kernel.org Subject: [PATCH] dtc: turn off dtc unit address warnings by default Date: Thu, 31 Mar 2016 11:46:18 -0500 Message-Id: <1459442778-12175-1-git-send-email-robh@kernel.org> X-Mailer: git-send-email 2.5.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The newly added dtc warning to check DT unit-address without reg property and vice-versa generates lots of warnings. Turn off the check unless building with W=1 or W=2. Signed-off-by: Rob Herring Cc: Michal Marek Cc: linux-kbuild@vger.kernel.org --- Michal, I plan to apply this with the corresponding dtc update. scripts/Makefile.lib | 5 +++++ 1 file changed, 5 insertions(+) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index ddf83d0..ed1b7c4 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -277,6 +277,11 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \ # --------------------------------------------------------------------------- DTC ?= $(objtree)/scripts/dtc/dtc +# Disable noisy checks by default +ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) +DTC_FLAGS += -Wno-unit_address_vs_reg +endif + # Generate an assembly file to wrap the output of the device tree compiler quiet_cmd_dt_S_dtb= DTB $@ cmd_dt_S_dtb= \