Message ID | 1553262459-4165-1-git-send-email-trini@konsulko.com |
---|---|
State | Accepted |
Commit | 00717b00a585fcf2856de29481506c6389b032d3 |
Delegated to: | Tom Rini |
Headers | show |
Series | [U-Boot] scripts/Makefile.extrawarn: Silence more DTC warnings | expand |
On Fri, Mar 22, 2019 at 09:47:39AM -0400, Tom Rini wrote: > While our "extrawarns" logic has gotten out of sync with upstream > Kbuild, for now lets start by bringing in the latest set of DTC_FLAGS > from the Linux Kernel 5.0 to match their behavior in silencing warnings > from dtc. > > Cc: Masahiro Yamada <yamada.masahiro@socionext.com> > Signed-off-by: Tom Rini <trini@konsulko.com> Applied to u-boot/master, thanks!
diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index 7ed520f55503..1105c76be12f 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -74,5 +74,7 @@ DTC_FLAGS += -Wno-unit_address_format DTC_FLAGS += -Wno-pci_bridge DTC_FLAGS += -Wno-pci_device_bus_num DTC_FLAGS += -Wno-pci_device_reg +DTC_FLAGS += -Wno-avoid_unnecessary_addr_size +DTC_FLAGS += -Wno-alias_paths endif
While our "extrawarns" logic has gotten out of sync with upstream Kbuild, for now lets start by bringing in the latest set of DTC_FLAGS from the Linux Kernel 5.0 to match their behavior in silencing warnings from dtc. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Tom Rini <trini@konsulko.com> --- scripts/Makefile.extrawarn | 2 ++ 1 file changed, 2 insertions(+)