diff options
| author | Rob Herring <robh@kernel.org> | 2018-05-07 17:46:47 -0400 |
|---|---|---|
| committer | Rob Herring <robh@kernel.org> | 2018-05-14 20:45:01 -0400 |
| commit | 74656b682902c803493959dfc79dd0e0e8e31351 (patch) | |
| tree | 2df84080430035fcae9b0709fe8cf41a344c056c /scripts | |
| parent | 50aafd60898a8b3edf2f60e014a8288da3b2e5e3 (diff) | |
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>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.lib | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 07d07409f16f..26fa6d3845b9 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
| @@ -251,6 +251,9 @@ DTC_FLAGS += -Wno-unit_address_vs_reg \ | |||
| 251 | -Wno-unit_address_format \ | 251 | -Wno-unit_address_format \ |
| 252 | -Wno-avoid_unnecessary_addr_size \ | 252 | -Wno-avoid_unnecessary_addr_size \ |
| 253 | -Wno-alias_paths \ | 253 | -Wno-alias_paths \ |
| 254 | -Wno-graph_child_address \ | ||
| 255 | -Wno-graph_port \ | ||
| 256 | -Wno-unique_unit_address \ | ||
| 254 | -Wno-pci_device_reg | 257 | -Wno-pci_device_reg |
| 255 | endif | 258 | endif |
| 256 | 259 | ||
