Re: [PATCH] docs: kbuild: remove ISDN references in Makefile examples
Ethan Nelson-Moore <[email protected]>
| Newsgroups | org.kernel.vger.linux-kbuild,org.kernel.vger.linux-doc |
|---|---|
| Message-ID | <CADkSEUiY5n0iTPmvUpbrVL7g5PpTUEi11R2Hqjdh-zU1B=7FhA@mail.gmail.com> |
Hi, Julian, On Sun, Jun 14, 2026 at 8:00 AM Julian Braha <[email protected]> wrote: > Hi Ethan, are you using the kconfig-sym-check[1] that was recently > merged? This dead symbol check should not have the false positives on > documentation. No, I'm not - I had heard about the Kconfirm project, but not about this similar tool. Thanks for letting me know, > Though maybe your check also catches dead symbols in C, Rust, Makefiles? Yes, it does; it has orthogonal functionality to kconfig-sym-check, which only operates within Kconfig files. My script checks for CONFIG_* symbols that are referenced in code or documentation, but that are not defined in any Kconfig file. The decision to include documentation is intentional and has revealed several instances of outdated documentation. It also filters out symbols that are defined in a Makefile or hardcoded with #define, and also attempts to filter out structs and enums (and typedefs thereof) named CONFIG_*, though I need to improve this further. I will post it publicly once I have done so. Ethan