Home
last modified time | relevance | path

Searched hist:"1 ef0623371e0a39a476fb05e575089cf48178f5c" (Results 1 – 1 of 1) sorted by relevance

/linux/scripts/
H A Dkernel-docdiff 1ef0623371e0a39a476fb05e575089cf48178f5c Tue Nov 17 16:29:49 CET 2015 Mauro Carvalho Chehab <mchehab@osg.samsung.com> kernel-doc: Make it compatible with Perl versions below 5.12 again

Changeset 4d73270192ec('scripts/kernel-doc: Replacing highlights
hash by an array') broke compatibility of the kernel-doc script with
older versions of perl by using "keys ARRAY" syntax with is available
only on Perl 5.12 or newer, according with:
http://perldoc.perl.org/functions/keys.html

Restore backward compatibility by replacing "foreach my $k (keys ARRAY)"
by a C-like variant: "for (my $k = 0; $k < !ARRAY; $k++)"

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>