From: Bill Pemberton Date: Thu, 9 Aug 2012 13:23:23 +0000 (-0400) Subject: localmodconfig: Use my variable for loop in streamline_config.pl X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45f4c81d690a57838822d4d01ad4c03651b76b95;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git localmodconfig: Use my variable for loop in streamline_config.pl 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 Signed-off-by: Steven Rostedt --- diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 22b66cada77..39b6314fe63 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);