checkkconfigsymbols.py: improve detection of defects
authorValentin Rothberg <valentinrothberg@gmail.com>
Sat, 8 Nov 2014 19:56:35 +0000 (20:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Nov 2014 04:50:43 +0000 (20:50 -0800)
commitcc641d5529965fbd01edbdf289951fb95d3de1b8
tree7c6f8e6e0fc0a297fadba41032263eba17d6a2a1
parent184901a06a366d40386e07307bcadc9eeaabbd39
checkkconfigsymbols.py: improve detection of defects

This patch improves the detection of defects by updating the
regular expression to find Kconfig identifiers in the source
code, and fixes some cases of false positives. The following
changes are made:
- improve regex to find Kconfig identifiers in the source
- exclude .log files from analysis
- improve filtering of false positives (e.g, CONFIG_XXX)
- change output format from (feature:\tlist) to (feature\tlist)

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/checkkconfigsymbols.py