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 Tested-by: Julian Braha Reviewed-by: Julian Braha