[PATCH 0/3] checkkconfigsymbols.py: Fix various bugs

From: Ariel Marcovitch
Date: Sun Aug 22 2021 - 15:27:13 EST


Hi!

This series fixes some issues in the checkkconfigsymbols.py script.

The first patch fixes a bug in the --ignore option that makes the
script check only the files matching the pattern instead of ignoring
them.

The second patch fixes a parsing error in the Kconfig files parser
that makes it ignore 'if' statements after 'help' sections.

The third patch prevents the user from using 'HEAD' refs in the
--commit option, because it doesn't really work.

Thanks!

-Ariel

Ariel Marcovitch (3):
checkkconfigsymbols.py: Fix the '--ignore' option
checkkconfigsymbols.py: Fix Kconfig parsing to find 'if' lines
checkkconfigsymbols.py: Forbid passing 'HEAD' to --commit

scripts/checkkconfigsymbols.py | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)


base-commit: 36a21d51725af2ce0700c6ebcb6b9594aac658a6
--
2.25.1