From 08705f1e904288607df87eb7627178613066bd99 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 9 Nov 2016 14:27:00 -0700 Subject: lint/kconfig_lint: Make sure all symbols have a type defined Show an error if a symbol does not have a defined type. This caused a problem of an undefined symbol in check_defaults, so we just skip those symbols there as we can't verify the default pattern without knowing the type. Change-Id: I28711a77962e16f6fc89789400363edd0fdd0931 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/17345 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Philipp Deppenwiese Reviewed-by: Patrick Georgi --- util/lint/kconfig_lint_README | 1 + 1 file changed, 1 insertion(+) (limited to 'util/lint/kconfig_lint_README') diff --git a/util/lint/kconfig_lint_README b/util/lint/kconfig_lint_README index 5a5eacdb88..c36320edb2 100644 --- a/util/lint/kconfig_lint_README +++ b/util/lint/kconfig_lint_README @@ -89,6 +89,7 @@ Errors in Kconfig that are also caught by Kconfig itself: int in another location. - Type keywords (bool, int, hex, string) used outside of a config block. - Using a 'prompt' keyword not inside a config or choice block. +- Symbols with no defined type. Errors in coreboot source files: - The IS_ENABLED macro is only valid for bool symbols. -- cgit v1.2.3