All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH] kbuild: turn of dtc unit address warnings by default
Date: Mon, 6 Mar 2017 17:58:22 +0800	[thread overview]
Message-ID: <CAEUhbmViBO1COVoHsNk6XHz-2g3R-yLzX3tMx56J35m7qQ7eYw@mail.gmail.com> (raw)
In-Reply-To: <1488176685-23740-1-git-send-email-yamada.masahiro@socionext.com>

On Mon, Feb 27, 2017 at 2:24 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> DTC 1.4.2 or later checks DT unit-address without reg property and
> vice-versa, and generates lots of warnings.  Fixing DT files will
> take for a while.  Until then, let's turn off the check unless
> building with W=*.
>
> Introduce a new helper dtc-option to check if the option is supported
> in order to suppress warnings on older versions.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> This is one possible answer to Tom's:
> https://www.mail-archive.com/u-boot at lists.denx.de/msg240328.html
>
> He fixed the problem on travis-ci by commit a0f3e3d, but it is still
> annoying during the regular development.
> Perhaps we may want to hide the warnings (at least hidden in Linux
> Kernel by default).
> Or, is it better to keep it noisy
> to motivate people to fix their DT files?
> I am not quite sure...
>
> Now I am sending this as RFC patch in case people may want to start discussion.
>
> BTW, this is a counter-part of the patch I sent to the Kbuild sub-system
> (https://patchwork.kernel.org/patch/9592747/)
> because I want the U-Boot build system with Linux as much as possible.
> Let's see if I will get possible opinions in the Kbuild review.
>
>
>  Makefile                   | 2 +-
>  scripts/Kbuild.include     | 5 +++++
>  scripts/Makefile.extrawarn | 6 ++++++
>  3 files changed, 12 insertions(+), 1 deletion(-)
>

Tested-by: Bin Meng <bmeng.cn@gmail.com>

  parent reply	other threads:[~2017-03-06  9:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27  6:24 [U-Boot] [RFC PATCH] kbuild: turn of dtc unit address warnings by default Masahiro Yamada
2017-03-03  4:52 ` Simon Glass
2017-03-06  9:58 ` Bin Meng [this message]
2017-03-07 17:09 ` Masahiro Yamada
2017-03-07 18:10   ` Tom Rini
2017-03-08  2:20     ` Masahiro Yamada
2017-03-08  7:56     ` Peter Robinson
2017-03-10 15:10 ` [U-Boot] [U-Boot, RFC] " 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=CAEUhbmViBO1COVoHsNk6XHz-2g3R-yLzX3tMx56J35m7qQ7eYw@mail.gmail.com \
    --to=bmeng.cn@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.