summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-02-28 15:09:45 +0100
committerRob Herring <robh@kernel.org>2018-03-06 03:58:18 +0100
commit4fd98e374fd377ae0458a9dc44aa779cf9631ddd (patch)
tree18d1dd1c70a885f05b7c1cfb1694c2ad66245238 /scripts
parentscripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 (diff)
downloadlinux-4fd98e374fd377ae0458a9dc44aa779cf9631ddd.tar.xz
linux-4fd98e374fd377ae0458a9dc44aa779cf9631ddd.zip
scripts: turn off some new dtc warnings by default
The latest dtc update adds some new noisy warnings, so turn them off by default. Disable 'avoid_unnecessary_addr_size' and 'alias_paths'. They can be re-enabled by building with 'W=1'. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 10906c1d7715..dcc934319f92 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -277,6 +277,8 @@ DTC ?= $(objtree)/scripts/dtc/dtc
ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)
DTC_FLAGS += -Wno-unit_address_vs_reg \
-Wno-unit_address_format \
+ -Wno-avoid_unnecessary_addr_size \
+ -Wno-alias_paths \
-Wno-pci_device_reg
endif