[4.19,151/243] kbuild: disable dtc simple_bus_reg warnings by default

Message ID 20191211150349.364778287@linuxfoundation.org
State New
Headers show
Series
  • Untitled series #25615
Related show

Commit Message

Greg KH Dec. 11, 2019, 3:05 p.m.
From: Rob Herring <robh@kernel.org>


[ Upstream commit 70523a3ce5ff928faa43bb2cad554dc63438e3e7 ]

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>

Signed-off-by: Sasha Levin <sashal@kernel.org>

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

-- 
2.20.1

Patch

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 61e596650ed31..a232741e3fd3b 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