mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Julian Braha <julianbraha@gmail.com>
To: Hamdy Abou El Anein <info@daylightlinux.ch>,
	nathan@kernel.org, nsc@kernel.org
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	ue081723@gmail.com, valentinrothberg@gmail.com,
	stefan.hengelein@fau.de
Subject: Re: [PATCH v2] scripts: checkkconfigsymbols: detect references in visible if statements
Date: Fri, 4 Dec 2026 14:08:02 +0000	[thread overview]
Message-ID: <e9e50640-7067-46e1-87ce-3bd14357fdb7@gmail.com> (raw)
In-Reply-To: <20261202131558.6820-1-info@daylightlinux.ch>


[-- Attachment #1.1: Type: text/plain, Size: 1131 bytes --]

On 12/2/26 13:15, Hamdy Abou El Anein wrote:
> checkkconfigsymbols.py does not recognize menu visibility conditions,
> so undefined Kconfig symbols referenced only in a "visible if"
> statement are silently missed.
> 
> The syntax is documented in the Kconfig language reference and used
> in the i915, I2C and media Kconfig files, among others.
> 
> Include visible if in the statement matcher so its condition is
> processed by the existing symbol extraction code.
> 
> Tested with single and compound conditions, whitespace variations,
> ordinary depends on and select statements, and comments. Running the
> script on a temporary Git repository also confirmed that an undefined
> visibility symbol is reported while a defined symbol is not. Checked
> actual visibility expressions from i915, I2C and media Kconfig files.
> 
> AI assistance: ChatGPT identified the issue, prepared the fix and
> commit message, and ran local regression tests.
> 
> Signed-off-by: Hamdy Abou El Anein <info@daylightlinux.ch>
Tested-by: Julian Braha <julianbraha@gmail.com>
Reviewed-by: Julian Braha <julianbraha@gmail.com>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2026-12-04 14:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 13:15 Hamdy Abou El Anein
2026-12-04 14:08 ` Julian Braha [this message]
2026-12-04 17:02 ` Nicolas Schier

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=e9e50640-7067-46e1-87ce-3bd14357fdb7@gmail.com \
    --to=julianbraha@gmail.com \
    --cc=info@daylightlinux.ch \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=nsc@kernel.org \
    --cc=stefan.hengelein@fau.de \
    --cc=ue081723@gmail.com \
    --cc=valentinrothberg@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®