[2/3] kbuild: disable dtc simple_bus_reg warnings by default

Message ID 20181130151610.30596-2-robh@kernel.org
State New
Headers show
Series
  • [1/3] scripts/dtc: Update to upstream version v1.4.7-57-gf267e674d145
Related show

Commit Message

Rob Herring Nov. 30, 2018, 3:16 p.m.
The updated version of dtc has a bug fix for simple_bus_reg warnings
and lots of warnings are generated now. So disable this warning by
default.

Signed-off-by: Rob Herring <robh@kernel.org>

---
 scripts/Makefile.lib | 1 +
 1 file changed, 1 insertion(+)

-- 
2.19.1

Patch

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 8fe4468f9bda..46342f0198f6 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -252,6 +252,7 @@  DTC_FLAGS += -Wno-unit_address_vs_reg \
 	-Wno-alias_paths \
 	-Wno-graph_child_address \
 	-Wno-graph_port \
+	-Wno-simple_bus_reg \
 	-Wno-unique_unit_address \
 	-Wno-pci_device_reg
 endif