aboutsummaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/kconfig_lint2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint
index 8ee6416a31..2341976b41 100755
--- a/util/lint/kconfig_lint
+++ b/util/lint/kconfig_lint
@@ -332,7 +332,7 @@ sub check_config_macro {
$line = $1 . $3;
if ( exists $symbols{$symbol} ) {
if ( $symbols{$symbol}{type} eq "bool" ) {
- show_warning( "Naked reference to CONFIG_$symbol used at $file:$lineno."
+ show_error( "Naked reference to CONFIG_$symbol used at $file:$lineno."
. " A 'bool' Kconfig should always be accessed through CONFIG($symbol)." );
}
} else {