OSDN Git Service

checkkconfigsymbols.py: filter reports for tools/
authorValentin Rothberg <Valentin.Rothberg@lip6.fr>
Wed, 25 Feb 2015 14:15:23 +0000 (15:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2015 19:45:44 +0000 (20:45 +0100)
commit208d51154c8d7f2c3808b4401132233c5ab21572
treec27d61b44afb9eb485594eaa2352ba38a1cba2a0
parente94f16a4fde646b3f155788fe37339b61264b0a9
checkkconfigsymbols.py: filter reports for tools/

Recent changes to the build system of tools suggest to filter reports
for the entire tools directory.  Various C preprocessor identifiers are
prefixed with CONFIG_ but are NOT defined in Kconfig but in Makefiles in
the tools directory.  Such identifiers are false positives for most static
analysis tools (i.e., scripts/checkkconfigsymbols.py) since the CONFIG_
prefix and the _MODULE suffix is reserved for Kconfig features in CPP
and Make syntax.

Signed-off-by: Valentin Rothberg <Valentin.Rothberg@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/checkkconfigsymbols.py [changed mode: 0644->0755]