From: Bill Pemberton <[email protected]> perlcritic complains about $kconfig being reused in the foreach loop at the end of read_kconfig. Change it to a my variable.
Signed-off-by: Bill Pemberton <[email protected]> Signed-off-by: Steven Rostedt <[email protected]> --- scripts/kconfig/streamline_config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 22b66ca..39b6314 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl @@ -252,7 +252,7 @@ sub read_kconfig { close($kinfile); # read in any configs that were found. - foreach $kconfig (@kconfigs) { + foreach my $kconfig (@kconfigs) { if (!defined($read_kconfigs{$kconfig})) { $read_kconfigs{$kconfig} = 1; read_kconfig($kconfig); -- 1.7.10.4
signature.asc
Description: This is a digitally signed message part

