Skip to content

Commit 29644bb

Browse files
robherringcristibirsan
authored andcommitted
kbuild: disable new dtc graph and unit-address warnings
dtc gained some new warnings for OF graphs and unique unit addresses, but they are currently much too noisy. So turn off 'graph_child_address', 'graph_port', and 'unique_unit_address' warnings by default. They can be enabled by building dtbs with W=1. Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Michal Marek <michal.lkml@markovi.net> Cc: linux-kbuild@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent bc9e0ec commit 29644bb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/Makefile.lib

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ DTC_FLAGS += -Wno-unit_address_vs_reg \
279279
-Wno-pci_device_bus_num \
280280
-Wno-avoid_unnecessary_addr_size \
281281
-Wno-alias_paths \
282+
-Wno-graph_child_address \
283+
-Wno-graph_port \
284+
-Wno-unique_unit_address \
282285
-Wno-pci_device_reg
283286
endif
284287

0 commit comments

Comments
 (0)