switch-coreboot/util/lint
Martin Roth e76cd0eb9c UPSTREAM: 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.

BUG=none
BRANCH=none
TEST=none

Change-Id: I5d564165c3842bb64f16db1ee85d24d4bd2dfc52
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: 811d93af39
Original-Change-Id: I46375738a18903b266ea9fff3102a1a91235e609
Original-Signed-off-by: Martin Roth <gaumless@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/19155
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://chromium-review.googlesource.com/528268
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
2017-06-12 08:47:54 -07:00
..
check_lint_tests
checkpatch.pl UPSTREAM: uti/lint/checkpatch: Fix __attribute__ struct errors for OPEN_BRACE 2017-03-09 05:14:36 -08:00
kconfig_lint UPSTREAM: util/lint: Give better warning for help spacing issue 2017-06-12 08:47:54 -07:00
kconfig_lint_README UPSTREAM: util/lint/kconfig_lint: update help checking 2017-06-12 08:47:54 -07:00
lint UPSTREAM: util/lint/lint: Show lint script output as it's running 2016-10-29 15:16:30 -07:00
lint-000-license-headers UPSTREAM: util/lint: Don't check license text for files with under 5 lines 2017-02-17 04:09:19 -08:00
lint-001-no-global-config-in-romstage
lint-007-checkpatch UPSTREAM: util/lint: Don't run checkpatch on the documentation 2017-04-26 09:20:56 -07:00
lint-008-kconfig
lint-014-qualified-types
lint-015-final-newlines UPSTREAM: util/lint: Add a tool to verify a single newline at the end of files 2017-01-20 08:47:59 -08:00
lint-016-non-ascii
lint-stable-000-license-headers
lint-stable-003-whitespace UPSTREAM: util/lint: ignore some more binary file types 2017-05-29 01:59:13 -07:00
lint-stable-004-style-labels
lint-stable-005-board-status
lint-stable-006-board-name
lint-stable-008-kconfig
lint-stable-009-old-licenses UPSTREAM: Add minimal GNAT run time system (RTS) 2016-09-21 19:36:46 -07:00
lint-stable-010-asm-syntax
lint-stable-012-executable-bit
lint-stable-013-site-local
lint-stable-017-configs UPSTREAM: util/lint: Add check to verify saved configs are miniconfigs 2016-12-09 03:30:09 -08:00
lint-stable-018-symlinks UPSTREAM: util/lint: Add check for symbolic links in the coreboot tree 2016-12-01 00:50:49 -08:00
lint-stable-019-header-files UPSTREAM: util/lint: add check for auto-included headers 2016-12-13 17:49:43 -08:00
lint-stable-020-signed-off-by UPSTREAM: util/lint: Add check for the signed-off-by line 2017-01-13 15:21:48 -08:00
remccoms3.sed
spelling.txt