summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-20 15:47:27 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-20 15:47:27 -0800
commit116dfe5e88cd0c9368bf0db28708fff6b549951f (patch)
treef1d2ca6dafd7e11edd1b903489a5891a80e5cb6d
parent95803066c697d40798a5db861f6152e533736a25 (diff)
parent1ef0623371e0a39a476fb05e575089cf48178f5c (diff)
downloadop-kernel-dev-116dfe5e88cd0c9368bf0db28708fff6b549951f.zip
op-kernel-dev-116dfe5e88cd0c9368bf0db28708fff6b549951f.tar.gz
Merge tag '4.4-fix' of git://git.lwn.net/linux
Pull documentation fix from Jon Corbet: "A single fix from Mauro for a 4.4 regression that would cause the docs build to fail on systems with ancient Perl installations" * tag '4.4-fix' of git://git.lwn.net/linux: kernel-doc: Make it compatible with Perl versions below 5.12 again
-rwxr-xr-xscripts/kernel-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 125b906..638a38e 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";
OpenPOWER on IntegriCloud