Re: [PATCH v4] checkkconfigsymbols.sh: reimplementation in python

2014-09-23 Thread Paul Bolle
Hi Valentin, On Mon, 2014-09-22 at 16:58 +0200, Valentin Rothberg wrote: > +FEATURE = r"\w*[A-Z]{1}\w*" > +CONFIG_DEF = r"^\s*(?:menu){,1}config\s+(" + FEATURE + r")\s*" If I read this correctly, this misidentifies these Kconfig symbols (all found in powerpc, by the way): 8260 8272 40

[PATCH v4] checkkconfigsymbols.sh: reimplementation in python

2014-09-22 Thread Valentin Rothberg
The scripts/checkkconfigsymbols.sh script searches Kconfig features in the source code that are not defined in Kconfig. Such identifiers always evaluate to false and are the source of various kinds of bugs. However, the shell script is slow and it does not detect such broken references in Kbuild an