Skip to content

Commit

Permalink
kconfig: Make a variable local in streamline_config.pl
Browse files Browse the repository at this point in the history
Proper perl requires that local variables should be declared with 'my',
otherwise this may produce errors.

Signed-off-by: Toralf Foerster <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
  • Loading branch information
toralf authored and rostedt committed May 28, 2010
1 parent cc106eb commit e5199ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kconfig/streamline_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ sub read_kconfig {
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;
}
Expand Down

0 comments on commit e5199ed

Please sign in to comment.