From: Toralf Foerster Date: Fri, 28 May 2010 08:24:59 +0000 (+0200) Subject: kconfig: Make a variable local in streamline_config.pl X-Git-Tag: v3.0~4464^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5199edb9e1b17792743d76bf10601ec7d6ef513;p=platform%2Fkernel%2Flinux-amlogic.git 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 LKML-Reference: <201005281025.00358.toralf.foerster@gmx.de> Signed-off-by: Steven Rostedt --- diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index afbd54a..9726946 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; }