public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCHv2 3/4] scripts/Makefile.lib: Restore PCI related warnings to DTC_FLAGS
Date: Mon, 24 Feb 2020 12:50:34 -0500	[thread overview]
Message-ID: <20200224175035.2239-3-trini@konsulko.com> (raw)
In-Reply-To: <20200224175035.2239-1-trini@konsulko.com>

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@konsulko.com>
---
 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

  parent reply	other threads:[~2020-02-24 17:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-24 17:50 [PATCHv2 1/4] kbuild: fixdep: Resync this with v4.17 Tom Rini
2020-02-24 17:50 ` [PATCHv2 2/4] kbuild: Re-sync DTC flag logic " Tom Rini
2020-02-25 23:07   ` Masahiro Yamada
2020-03-17 15:28   ` Tom Rini
2020-02-24 17:50 ` Tom Rini [this message]
2020-02-25 23:14   ` [PATCHv2 3/4] scripts/Makefile.lib: Restore PCI related warnings to DTC_FLAGS Masahiro Yamada
2020-03-17 15:28   ` Tom Rini
2020-02-24 17:50 ` [PATCHv2 4/4] scripts/Makefile.lib: Re-add -Wno-simple_bus_reg " Tom Rini
2020-02-25 23:16   ` Masahiro Yamada
2020-03-17 15:29   ` Tom Rini
2020-02-25 23:11 ` [PATCHv2 1/4] kbuild: fixdep: Resync this with v4.17 Masahiro Yamada
2020-03-17 15:28 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200224175035.2239-3-trini@konsulko.com \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox