coreboot-kgpe-d16/util/lint
Julius Werner e5eb2decd0 lint/kconfig: More checks, more errors
This patch changes a few more Kconfig linter warnings to errors that
currently do not show up in the tree and that seem unlikely to become
false positive in the future. One instance of duplicated code that
essentially checks for the same thing was consolidated.

It also adds a new test for references to boolean Kconfig options that
do not use the CONFIG() wrapper macro. It's a little flaky (e.g. hard to
handle multi-line comments), but it should be helpful the majority of
the time as a warning in a Jenkins comment.

Change-Id: I975ee77d392ed426f76f7671d9b6ef9441656e6a
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31777
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2019-03-22 09:31:11 +00:00
..
check-style util/gitconfig/pre-commit: Use clang-format to sanitise commits 2019-01-04 10:37:10 +00:00
check_lint_tests arch/power8: Rename to ppc64 2018-11-30 20:02:17 +00:00
checkpatch.pl util/lint: update checkpatch.pl to latest linux version 2018-08-13 12:32:15 +00:00
checkpatch_json.py util: Fix shebang for python2 scripts 2018-11-18 09:12:22 +00:00
const_structs.checkpatch util/lint: Update checkpatch & files to upstream linux 2017-06-29 14:42:26 +00:00
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
kconfig_lint lint/kconfig: More checks, more errors 2019-03-22 09:31:11 +00:00
kconfig_lint_README lint/kconfig: More checks, more errors 2019-03-22 09:31:11 +00:00
lint util/lint: use a more compact output format 2018-06-01 16:25:54 +00:00
lint-000-license-headers lint-000-license-headers: add SPDX-License-Identifier: GPL-2.0-or-later 2018-09-14 08:54:28 +00: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 Revert "lint/clang-format: set to 96 chars per line" 2019-03-15 23:05:06 +00:00
lint-008-kconfig util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-014-qualified-types util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-extended-007-checkpatch util/lint: Run lint-extended-007-checkpatch checks in parallel 2018-06-12 11:11:54 +00:00
lint-extended-015-final-newlines util/lint: Run lint-extended-007-final-newlines checks in parallel 2018-06-14 08:42:30 +00:00
lint-extended-020-signed-off-by util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-000-license-headers util/lint: Update lint-stable-000-license-headers linter 2018-07-06 15:31:51 +00:00
lint-stable-003-whitespace util/lint: update whitespace checking rules 2018-09-04 12:38:56 +00:00
lint-stable-004-style-labels util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00: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 util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-009-old-licenses util/lint: Ignore whitespace, newlines, and licenses in vbt files 2018-05-09 16:19:36 +00:00
lint-stable-010-asm-syntax util/lint: exclude patch files from asm syntax check 2017-07-21 15:55:21 +00:00
lint-stable-012-executable-bit lint-stable: Only check files tracked by git (ie source files) for +x 2017-12-05 15:04:11 +00:00
lint-stable-013-site-local util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-016-non-ascii util/lint: update non-ascii linter checking rules 2019-01-24 13:51:51 +00:00
lint-stable-017-configs util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-018-symlinks util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-019-header-files util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-021-coreboot-lowercase util/lint: Unify checks for git worktree 2018-01-23 05:42:51 +00:00
lint-stable-022-clang-format util/lint: Fix clang-format test and enable it by default 2019-03-05 16:13:10 +00:00
lint-stable-023-filenames util/lint: Add filename checker 2018-06-07 06:27:08 +00:00
remccoms3.sed
spelling.txt util/lint/spelling.txt: Protect "acknowledgement" entry 2018-12-18 13:26:15 +00:00