ef7a326787
This patch updates the Kconfig linter to support the new CONFIG() macro in the same manner that IS_ENABLED() was previously supported. It will be flagged when it is used on non-bool Kconfigs or used with #ifdef, and it is supported for checking used Kconfigs. Remaining uses of IS_ENABLED() are flagged with a deprecation warning. Change-Id: I171ea8bc8e2d22abab7fc4d87ff4cf8aad21084f Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31776 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
---|---|---|
.. | ||
check-style | ||
check_lint_tests | ||
checkpatch.pl | ||
checkpatch_json.py | ||
const_structs.checkpatch | ||
description.md | ||
kconfig_lint | ||
kconfig_lint_README | ||
lint | ||
lint-000-license-headers | ||
lint-001-no-global-config-in-romstage | ||
lint-007-checkpatch | ||
lint-008-kconfig | ||
lint-014-qualified-types | ||
lint-extended-007-checkpatch | ||
lint-extended-015-final-newlines | ||
lint-extended-020-signed-off-by | ||
lint-stable-000-license-headers | ||
lint-stable-003-whitespace | ||
lint-stable-004-style-labels | ||
lint-stable-005-board-status | ||
lint-stable-006-board-name | ||
lint-stable-008-kconfig | ||
lint-stable-009-old-licenses | ||
lint-stable-010-asm-syntax | ||
lint-stable-012-executable-bit | ||
lint-stable-013-site-local | ||
lint-stable-016-non-ascii | ||
lint-stable-017-configs | ||
lint-stable-018-symlinks | ||
lint-stable-019-header-files | ||
lint-stable-021-coreboot-lowercase | ||
lint-stable-022-clang-format | ||
lint-stable-023-filenames | ||
remccoms3.sed | ||
spelling.txt |