Prev: [PATCH 0/3] [GIT PULL] kconfig: minor updates to streamline_config.pl
Next: [PATCH 3/3] [PATCH 3/3] kconfig: Hide error output in find command in streamline_config.pl
From: Steven Rostedt on 28 May 2010 10:50 From: Toralf Foerster <toralf.foerster(a)gmx.de> Proper perl requires that local variables should be declared with 'my', otherwise this may produce errors. Signed-off-by: Toralf Foerster <toralf.foerster(a)gmx.de> LKML-Reference: <201005281025.00358.toralf.foerster(a)gmx.de> Signed-off-by: Steven Rostedt <rostedt(a)goodmis.org> --- scripts/kconfig/streamline_config.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } -- 1.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |