summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToralf Foerster <toralf.foerster@gmx.de>2010-05-28 10:24:59 +0200
committerSteven Rostedt <rostedt@goodmis.org>2010-05-28 16:31:25 +0200
commite5199edb9e1b17792743d76bf10601ec7d6ef513 (patch)
treee379c1c0dc808c280a8d38a689d7a1f3b559437e
parentMerge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 (diff)
downloadlinux-e5199edb9e1b17792743d76bf10601ec7d6ef513.tar.xz
linux-e5199edb9e1b17792743d76bf10601ec7d6ef513.zip
kconfig: Make a variable local in streamline_config.pl
Proper perl requires that local variables should be declared with 'my', otherwise this may produce errors. Signed-off-by: Toralf Foerster <toralf.foerster@gmx.de> LKML-Reference: <201005281025.00358.toralf.foerster@gmx.de> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--scripts/kconfig/streamline_config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index afbd54ac1d83..9726946472fd 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -307,7 +307,7 @@ close (LIN);
my %configs;
foreach my $module (keys(%modules)) {
if (defined($objects{$module})) {
- @arr = @{$objects{$module}};
+ my @arr = @{$objects{$module}};
foreach my $conf (@arr) {
$configs{$conf} = $module;
}