Re: [PATCH] kconfig: add kconfig-sym-check static checker

From: Nathan Chancellor

Date: Thu May 14 2026 - 12:05:24 EST


On Thu, May 14, 2026 at 04:26:42PM +0100, Julian Braha wrote:
> On 5/14/26 14:32, Nathan Chancellor wrote:
> > On Wed, 13 May 2026 16:03:29 -0500, Andrew Jones <andrew.jones@xxxxxxxxx> wrote:
> >
> > Hi Andrew,
> >
> >> [...]
> >>
> >> This new static checker is the script used for [1] with a few
> >> improvements to avoid some false positives.
> >>
> >> Link: https://bugzilla.kernel.org/show_bug.cgi?id=216748 [1]
> >> Signed-off-by: Andrew Jones <andrew.jones@xxxxxxxxx>
> >
> > I think something like this is reasonable, as least until kconfirm
> > is potentially ready for integration into the tree.
> >
> > https://lore.kernel.org/20260509203808.1142311-1-julianbraha@xxxxxxxxx/
> >
> Agreed, don't let kconfirm block this. While I do have future plans to
> support these same alarms in that tool, there's currently no overlap
> between these two, and no ETA on that support either ;)
>
> Side note, this script was actually part of my inspiration to go
> searching for more misusage of kconfig and build kconfirm. I also
> previously cleaned up some dead code, thanks to this script:
> https://lore.kernel.org/all/20260309122321.1528622-1-julianbraha@xxxxxxxxx/

Thanks a lot for that additional context, especially around the lack of
overlap between the two tools. This seems worth pursuing then.

--
Cheers,
Nathan