diff mbox series

[PATCHv2,3/4] scripts/Makefile.lib: Restore PCI related warnings to DTC_FLAGS

Message ID 20200224175035.2239-3-trini@konsulko.com
State Accepted
Commit aacf264bfddb931289ad810bc114e374d20c5762
Headers show
Series [PATCHv2,1/4] kbuild: fixdep: Resync this with v4.17 | expand

Commit Message

Tom Rini Feb. 24, 2020, 5:50 p.m. UTC
While we are working on correcting usage related to the pci_bridge and
pci_device_bus_num warnings, disable these flags for now.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 scripts/Makefile.lib | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Masahiro Yamada Feb. 25, 2020, 11:14 p.m. UTC | #1
On Tue, Feb 25, 2020 at 2:51 AM Tom Rini <trini at konsulko.com> wrote:
>
> While we are working on correcting usage related to the pci_bridge and
> pci_device_bus_num warnings, disable these flags for now.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>

Reviewed-by: Masahiro Yamada <masahiroy at kernel.org>


> ---
>  scripts/Makefile.lib | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
> index bfb5851e9bfa..a8196678b2e9 100644
> --- a/scripts/Makefile.lib
> +++ b/scripts/Makefile.lib
> @@ -281,6 +281,10 @@ DTC_FLAGS += -Wno-unit_address_vs_reg \
>         -Wno-avoid_unnecessary_addr_size \
>         -Wno-alias_paths \
>         -Wno-pci_device_reg
> +
> +# U-Boot specific disables
> +DTC_FLAGS += -Wno-pci_bridge \
> +        -Wno-pci_device_bus_num
>  endif
>
>  ifneq ($(findstring 2,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)
> --
> 2.17.1
>
Tom Rini March 17, 2020, 3:28 p.m. UTC | #2
On Mon, Feb 24, 2020 at 12:50:34PM -0500, Tom Rini wrote:

> While we are working on correcting usage related to the pci_bridge and
> pci_device_bus_num warnings, disable these flags for now.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Masahiro Yamada <masahiroy at kernel.org>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index bfb5851e9bfa..a8196678b2e9 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -281,6 +281,10 @@  DTC_FLAGS += -Wno-unit_address_vs_reg \
 	-Wno-avoid_unnecessary_addr_size \
 	-Wno-alias_paths \
 	-Wno-pci_device_reg
+
+# U-Boot specific disables
+DTC_FLAGS += -Wno-pci_bridge \
+        -Wno-pci_device_bus_num
 endif
 
 ifneq ($(findstring 2,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)