All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Masahiro Yamada <yamada.masahiro@socionext.com>,
	Frank Rowand <frowand.list@gmail.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 6/6] scripts: turn off some new dtc warnings by default
Date: Wed, 28 Feb 2018 17:32:49 -0600	[thread overview]
Message-ID: <20180228233249.26281-7-robh@kernel.org> (raw)
In-Reply-To: <20180228233249.26281-1-robh@kernel.org>

The latest dtc update adds some new noisy warnings, so turn them off by
default. Disable 'avoid_unnecessary_addr_size' and 'alias_paths'. They
can be re-enabled by building with 'W=1'.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 scripts/Makefile.lib | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 10906c1d7715..dcc934319f92 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -277,6 +277,8 @@ DTC ?= $(objtree)/scripts/dtc/dtc
 ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)
 DTC_FLAGS += -Wno-unit_address_vs_reg \
 	-Wno-unit_address_format \
+	-Wno-avoid_unnecessary_addr_size \
+	-Wno-alias_paths \
 	-Wno-pci_device_reg
 endif
 
-- 
2.14.1

  parent reply	other threads:[~2018-02-28 23:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28 23:32 [PATCH 0/6] dtc updates for 4.17 Rob Herring
2018-02-28 23:32 ` [PATCH 1/6] kbuild: remove remaining use of undefined YACC_PREFIX Rob Herring
2018-03-01  4:20   ` Masahiro Yamada
2018-03-01 11:35     ` Masahiro Yamada
2018-03-01 13:39       ` Rob Herring
2018-03-01 14:01         ` Masahiro Yamada
2018-03-01 15:38           ` Rob Herring
2018-02-28 23:32 ` [PATCH 2/6] kbuild: add dtc as dependency on .dtb files Rob Herring
2018-03-01  4:33   ` Masahiro Yamada
2018-03-01  5:45     ` Masahiro Yamada
2018-03-01 13:28       ` Rob Herring
2018-03-01 14:04         ` Masahiro Yamada
2018-02-28 23:32 ` [PATCH 3/6] scripts: re-enable some now fixed dtc warnings Rob Herring
2018-02-28 23:32 ` [PATCH 4/6] scripts/dtc: generate lexer and parser during build instead of shipping Rob Herring
2018-03-01  4:34   ` Masahiro Yamada
2018-03-01 18:13     ` Rob Herring
2018-02-28 23:32 ` [PATCH 5/6] scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 Rob Herring
2018-02-28 23:32 ` Rob Herring [this message]
2018-03-01  4:43 ` [PATCH 0/6] dtc updates for 4.17 Masahiro Yamada

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=20180228233249.26281-7-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yamada.masahiro@socionext.com \
    /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.