coreboot-kgpe-d16/util/lint
Martin Roth 811d93af39 util/lint: Give better warning for help spacing issue
Because the help block uses significant whitespace to determine whether
or not text is inside the help block, a mixture of spaces and tabs
confuses the parser.
If there's an unrecognized line, and the previous line was inside a help
block, it's likely that this line is too.

Additionally, this was found with a line that started '  configuration',
and threw a perl warning about an uninitialized value because the parser
thought this was the start of a new config line, but couldn't find the
symbol.  Now we make sure that config statements have whitespace after
the 'config' statement.

Change-Id: I46375738a18903b266ea9fff3102a1a91235e609
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/19155
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2017-06-07 23:13:38 +02:00
..
check_lint_tests lint/check_lint_tests: Add script that will break all stable tests 2016-04-10 18:13:01 +02:00
checkpatch.pl uti/lint/checkpatch: Fix __attribute__ struct errors for OPEN_BRACE 2017-03-09 04:37:43 +01:00
kconfig_lint util/lint: Give better warning for help spacing issue 2017-06-07 23:13:38 +02:00
kconfig_lint_README util/lint/kconfig_lint: update help checking 2017-06-07 23:12:40 +02:00
lint util/lint/lint: Show lint script output as it's running 2016-10-27 22:20:22 +02:00
lint-000-license-headers util/lint: Don't check license text for files with under 5 lines 2017-02-14 18:37:40 +01:00
lint-001-no-global-config-in-romstage tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lint-007-checkpatch util/lint: Don't run checkpatch on the documentation 2017-04-24 19:18:06 +02:00
lint-008-kconfig kconfig_lint: update kconfig lint shell scripts 2016-02-10 17:17:56 +01:00
lint-014-qualified-types util/lint: Find unsigned variables with no length specified 2016-04-21 23:13:09 +02:00
lint-015-final-newlines util/lint: Add a tool to verify a single newline at the end of files 2016-08-19 18:08:25 +02:00
lint-016-non-ascii util/lint: Add a lint tool to find non-ascii & unprintable chars 2016-08-02 18:56:14 +02:00
lint-stable-000-license-headers lint: Add check for amd & apple mainboard license headers 2016-04-21 23:07:31 +02:00
lint-stable-003-whitespace util/lint: ignore some more binary file types 2017-05-25 23:04:29 +02:00
lint-stable-004-style-labels lint/lint-stable-004-style-labels: Update script 2016-04-13 02:11:28 +02:00
lint-stable-005-board-status lint: Update board status script to look at the whole tree 2016-03-29 23:30:47 +02:00
lint-stable-006-board-name
lint-stable-008-kconfig lint-kconfig: pipe stderr to stdout to catch script errors 2016-03-05 15:40:31 +01:00
lint-stable-009-old-licenses Add minimal GNAT run time system (RTS) 2016-09-19 11:14:49 +02:00
lint-stable-010-asm-syntax lint: test for assembler dialect switches 2016-02-07 00:36:46 +01:00
lint-stable-012-executable-bit lint: Add a check for the executable bit being set on source code 2016-01-30 03:23:44 +01:00
lint-stable-013-site-local lint: Make sure site-local isn't committed to coreboot repo 2016-02-16 22:47:39 +01:00
lint-stable-017-configs util/lint: Add check to verify saved configs are miniconfigs 2016-12-09 00:35:16 +01:00
lint-stable-018-symlinks util/lint: Add check for symbolic links in the coreboot tree 2016-11-30 00:22:10 +01:00
lint-stable-019-header-files util/lint: add check for auto-included headers 2016-12-12 18:07:27 +01:00
lint-stable-020-signed-off-by util/lint: Add check for the signed-off-by line 2017-01-09 18:14:10 +01:00
remccoms3.sed
spelling.txt util/lint: Update to latest checkpatch.pl 2016-09-04 05:51:47 +02:00