kbuild: disable dtc simple_bus_reg warnings by default
authorRob Herring <robh@kernel.org>
Thu, 29 Nov 2018 01:11:50 +0000 (19:11 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:52:18 +0000 (08:52 +0100)
[ 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

index 61e5966..a232741 100644 (file)
@@ -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