projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9130ba8
)
scripts: turn off some new dtc warnings by default
author
Rob Herring
<robh@kernel.org>
Wed, 28 Feb 2018 14:09:45 +0000
(08:09 -0600)
committer
Rob Herring
<robh@kernel.org>
Tue, 6 Mar 2018 02:58:18 +0000
(20:58 -0600)
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>
scripts/Makefile.lib
patch
|
blob
|
blame
|
history
diff --git
a/scripts/Makefile.lib
b/scripts/Makefile.lib
index 10906c1d77153341ba83ae2695ec5799fcaf4842..dcc934319f922fcbc102ffa9f309d60f9a286c4d 100644
(file)
--- 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