LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: Rob Herring <robh@kernel.org>
Cc: DTML <devicetree@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Frank Rowand <frowand.list@gmail.com>,
	Maxime Ripard <maxime.ripard@bootlin.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Michal Marek <michal.lkml@markovi.net>,
	Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>
Subject: Re: [PATCH 2/2] kbuild: disable new dtc graph and unit-address warnings
Date: Wed, 9 May 2018 08:51:43 +0900	[thread overview]
Message-ID: <CAK7LNAQnFrZNJetQRrB_KuV_=oRneSFXj-KJ=SK6ZTZWjdn1tg@mail.gmail.com> (raw)
In-Reply-To: <20180508135150.27762-2-robh@kernel.org>

Hi Rob,

2018-05-08 22:51 GMT+09:00 Rob Herring <robh@kernel.org>:
> 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.
>
> Cc: 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>
> ---
> I plan to take this via DT tree as it is dependent on a dtc update in
> patch 1.


Yes, please do so.

Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>





>  scripts/Makefile.lib | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
> index 5af34a2b0cd9..1bb594fcfe12 100644
> --- a/scripts/Makefile.lib
> +++ b/scripts/Makefile.lib
> @@ -251,6 +251,9 @@ DTC_FLAGS += -Wno-unit_address_vs_reg \
>         -Wno-unit_address_format \
>         -Wno-avoid_unnecessary_addr_size \
>         -Wno-alias_paths \
> +       -Wno-graph_child_address \
> +       -Wno-graph_port \
> +       -Wno-unique_unit_address \
>         -Wno-pci_device_reg
>  endif
>
> --
> 2.17.0
>



-- 
Best Regards
Masahiro Yamada

      reply	other threads:[~2018-05-08 23:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-08 13:51 [PATCH 1/2] scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc Rob Herring
2018-05-08 13:51 ` [PATCH 2/2] kbuild: disable new dtc graph and unit-address warnings Rob Herring
2018-05-08 23:51   ` Masahiro Yamada [this message]

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='CAK7LNAQnFrZNJetQRrB_KuV_=oRneSFXj-KJ=SK6ZTZWjdn1tg@mail.gmail.com' \
    --to=yamada.masahiro@socionext.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.ripard@bootlin.com \
    --cc=michal.lkml@markovi.net \
    --cc=robh@kernel.org \
    --subject='Re: [PATCH 2/2] kbuild: disable new dtc graph and unit-address warnings' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).