diff options
author | Ariel Marcovitch <arielmarcovitch@gmail.com> | 2021-08-22 22:22:01 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-09-03 08:17:21 +0900 |
commit | 1439ebd2ce77242400518d4e6a1e85bebcd8084f (patch) | |
tree | 04480743a050aa18a8a5a37dbeb44a916df2394e /scripts/mod | |
parent | 5df77ad61fd71b1b342ba40d913ad5595480691c (diff) | |
download | lwn-1439ebd2ce77242400518d4e6a1e85bebcd8084f.tar.gz lwn-1439ebd2ce77242400518d4e6a1e85bebcd8084f.zip |
checkkconfigsymbols.py: Fix the '--ignore' option
It seems like the implementation of the --ignore option is broken.
In check_symbols_helper, when going through the list of files, a file is
added to the list of source files to check if it matches the ignore
pattern. Instead, as stated in the comment below this condition, the
file should be added if it doesn't match the pattern.
This means that when providing an ignore pattern, the only files that
will be checked will be the ones we want the ignore, in addition to the
Kconfig files that don't match the pattern (the check in
parse_kconfig_files is done right)
Signed-off-by: Ariel Marcovitch <arielmarcovitch@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions