From: Keith Owens <kaos@ocs.com.au>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org,
rhw@MemAlpha.CX, rmk@arm.linux.org.uk
Subject: Re: [PATCH] Re: 2.4.6p6: dep_{bool,tristate} $CONFIG_ARCH_xxx bugs
Date: Mon, 02 Jul 2001 16:21:25 +1000 [thread overview]
Message-ID: <25244.994054885@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Sun, 01 Jul 2001 22:52:04 MST." <200107020552.WAA02457@adam.yggdrasil.com>
On Sun, 1 Jul 2001 22:52:04 -0700,
"Adam J. Richter" <adam@yggdrasil.com> wrote:
> In linux-2.4.6-pre8, there are only three configuration variables
>that are defined with an indented 'define_bool' statement
>(CONFIG_BLK_DEV_IDE{DMA,PCI}, and CONFIG_PCI), and the conditional
>code execute by all "if" statements in all of the config.in files
>appears to be indented (or at least the first statement in the block
>is indented). None of these three variables has the semantics that
>I think you you described above.
A conditioned define_bool is not the only possibility, that was just
one example. Undefined variables can be created by any of the ask,
define, dependent or choice statements listed in
Documentation/kbuild/config-language.txt, when that statement is not
executed. The reason for not being executed can be an 'if' statement
or the code can be in a file that is not read, either the 'source'
statement is bypassed or it is for another architecture. Also the
unset statement changes variables to undefined values.
Identifying where variables can have unset values cannot be done by a
grep of the files. You have to follow every branch of the condition
tree, including source statements, eliminate those variables where
every branch assigns a value before it is used then flag the
remainder as "may be used while uninitialized".
next prev parent reply other threads:[~2001-07-02 6:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-02 5:52 [PATCH] Re: 2.4.6p6: dep_{bool,tristate} $CONFIG_ARCH_xxx bugs Adam J. Richter
2001-07-02 6:21 ` Keith Owens [this message]
2001-07-02 10:14 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2001-07-02 9:29 Adam J. Richter
2001-07-02 6:03 Adam J. Richter
2001-07-02 4:46 Adam J. Richter
2001-07-02 4:51 ` Keith Owens
2001-07-02 9:29 ` Andrzej Krzysztofowicz
2001-07-02 3:34 Adam J. Richter
2001-07-02 2:25 Adam J. Richter
2001-07-02 2:48 ` Keith Owens
2001-07-02 7:22 ` Riley Williams
2001-07-01 3:00 2.4.6p6: numerous " Keith Owens
2001-07-01 23:04 ` [PATCH] Re: 2.4.6p6: " Riley Williams
2001-07-02 0:39 ` Keith Owens
2001-07-02 7:16 ` Riley Williams
2001-07-02 7:23 ` Keith Owens
2001-07-02 8:25 ` Riley Williams
2001-07-02 9:41 ` Russell King
2001-07-02 12:40 ` Riley Williams
2001-07-02 15:03 ` Russell King
2001-07-02 16:28 ` Nicolas Pitre
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=25244.994054885@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=adam@yggdrasil.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=rhw@MemAlpha.CX \
--cc=rmk@arm.linux.org.uk \
/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