From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] Remove bogus errors from check_chosen.
Date: Fri, 23 Mar 2007 11:48:30 -0400 [thread overview]
Message-ID: <4603F6CE.6060805@smiths-aerospace.com> (raw)
In-Reply-To: <20070323153609.GE6060@ld0162-tx32.am.freescale.net>
Scott Wood wrote:
> On Fri, Mar 23, 2007 at 11:21:27AM -0400, Jerry Van Baren wrote:
>> The -q[q[q]] I added cuts down/eliminates the moaning, but you still
>> have to -f force the output which doesn't match what Scott is advocating
>> if I understand him.
>>
>> The gcc -Wall is backwards to what we should have, perhaps adding --no*
>> options like:
>> --nochosen
>> --nocpu
>> --noarmyboots
>> to tell dtc that lonely barefoot blobs are OK.
>
> There should also be a --no-validate option to turn everything off, if
> the user is confident that the tree is right and doesn't want to get
> broken by new dtcs that have new error categories (or if the user is
> using dtc to compile some other type of tree than an OF-ish device tree).
>
> In other words, there should be a clear separation between the structural
> layer and the semantic layer, even if the same binary can do both.
>
> -Scott
Unless I'm missing an error scenario (entirely possible), --no-validate
is nothing more than
-f -qqq
which forces the output and quiets the moaning. Just not as pretty...
I would still advocate being able to disable individual warning/errors.
For instance, for u-boot, the chosen (and other) nodes are generated by
u-boot so it is OK to not have them in the source. If something new
comes along that _is_ needed, and I would feel better if only the chosen
node warning was suppressed and dtc _would_ complain about the new
missing node.
Either way you pick it there will be hypothetical, and probably
eventually real, scenarios the that wrong choice will be made.
gvb
next prev parent reply other threads:[~2007-03-23 15:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 16:11 [PATCH] Remove bogus errors from check_chosen Scott Wood
2007-03-22 16:22 ` Scott Wood
2007-03-23 3:31 ` David Gibson
2007-03-23 15:05 ` Scott Wood
2007-03-23 15:21 ` Jerry Van Baren
2007-03-23 15:36 ` Scott Wood
2007-03-23 15:48 ` Jerry Van Baren [this message]
2007-03-23 23:42 ` David Gibson
2007-03-23 23:40 ` David Gibson
2007-03-23 16:03 ` Jon Loeliger
2007-03-23 23:51 ` David Gibson
2007-03-26 13:35 ` Jon Loeliger
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=4603F6CE.6060805@smiths-aerospace.com \
--to=gerald.vanbaren@smiths-aerospace.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=scottwood@freescale.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.