kbuild: Enable dtc 'pci_device_reg' warning by default
authorRob Herring <robh@kernel.org>
Fri, 20 Aug 2021 16:24:20 +0000 (11:24 -0500)
committerRob Herring <robh@kernel.org>
Mon, 23 Aug 2021 18:52:53 +0000 (13:52 -0500)
There's only a couple of instances of the 'pci_device_reg' warnings left
and they look legit, so let's enable the warning by default.

Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Nicolas Saenz Julienne <nsaenz@kernel.org>
Cc: soc@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210820165011.3257112-1-robh@kernel.org/
scripts/Makefile.lib

index 1095055..c57f14a 100644 (file)
@@ -309,8 +309,7 @@ DTC_FLAGS += -Wno-unit_address_vs_reg \
        -Wno-alias_paths \
        -Wno-graph_child_address \
        -Wno-simple_bus_reg \
-       -Wno-unique_unit_address \
-       -Wno-pci_device_reg
+       -Wno-unique_unit_address
 endif
 
 ifneq ($(findstring 2,$(KBUILD_EXTRA_WARN)),)