X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=scripts%2Fkernel-doc;h=638a38e1b419518712c1f44c1497e80bac096240;hb=4cf193b4b2363bfed0b4e040e61f20d78192e2e0;hp=125b906cd1d4bba50c727b108ead1a3d81e1e302;hpb=a18e2fa5e670a1b84e66522b221c42875b02028a;p=karo-tx-linux.git diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 125b906cd1d4..638a38e1b419 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -2711,7 +2711,7 @@ $kernelversion = get_kernel_version(); # generate a sequence of code that will splice in highlighting information # using the s// operator. -foreach my $k (keys @highlights) { +for (my $k = 0; $k < @highlights; $k++) { my $pattern = $highlights[$k][0]; my $result = $highlights[$k][1]; # print STDERR "scanning pattern:$pattern, highlight:($result)\n";