瀏覽代碼

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>
Toralf Foerster 15 年之前
父節點
當前提交
e5199edb9e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/kconfig/streamline_config.pl

+ 1 - 1
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;
 	}