diff options
author | hiromu yagura <hiromu1996@gmail.com> | 2010-08-15 00:13:17 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-29 01:04:14 -0400 |
commit | ccece60ac69608c496b07c0d31a68894db0a22b3 (patch) | |
tree | 83d042f92ccf4836ee18dde4d3591fda100d0375 /scripts | |
parent | 4908980b241bc639b71ef47b727b4bc7c0174afe (diff) |
kconfig: Fix variable name typo %prompts in streamline_config.pl
When I added "use strict;" to streamline_config.pl, I saw the following
warnings:
> Global symbol "%prompt" requires explicit package name at
scripts/kconfig/streamline_config.pl line 183.
> Global symbol "%prompt" requires explicit package name at
scripts/kconfig/streamline_config.pl line 368.
The declaration of %prompt was incorrect, and should have been %prompts.
Cc: Toralf Foerster <toralf.foerster@gmx.de>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Hiromu Yakura <hiromu1996@gmail.com>
LKML-Reference: <1281845597.11566.5.camel@camp10-laptop>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/streamline_config.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index cc10bcfda64f..3c63aa943ee3 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl | |||
@@ -188,7 +188,7 @@ sub read_kconfig { | |||
188 | # configs without prompts must be selected | 188 | # configs without prompts must be selected |
189 | } elsif ($state ne "NONE" && /^\s*tristate\s\S/) { | 189 | } elsif ($state ne "NONE" && /^\s*tristate\s\S/) { |
190 | # note if the config has a prompt | 190 | # note if the config has a prompt |
191 | $prompt{$config} = 1; | 191 | $prompts{$config} = 1; |
192 | 192 | ||
193 | # Check for if statements | 193 | # Check for if statements |
194 | } elsif (/^if\s+(.*\S)\s*$/) { | 194 | } elsif (/^if\s+(.*\S)\s*$/) { |
@@ -373,7 +373,7 @@ while ($repeat) { | |||
373 | parse_config_dep_select $depends{$config}; | 373 | parse_config_dep_select $depends{$config}; |
374 | } | 374 | } |
375 | 375 | ||
376 | if (defined($prompt{$config}) || !defined($selects{$config})) { | 376 | if (defined($prompts{$config}) || !defined($selects{$config})) { |
377 | next; | 377 | next; |
378 | } | 378 | } |
379 | 379 | ||