Re: [PATCH v2 2/4] scripts/kernel-doc: Replacing highlights hash by an array

From: Jonathan Corbet
Date: Tue Nov 17 2015 - 09:44:38 EST


On Tue, 17 Nov 2015 08:40:46 -0200
Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx> wrote:

> The above causes some versions of perl to fail, as keys expect a
> hash argument:
>
> Execution of .//scripts/kernel-doc aborted due to compilation errors.
> Type of arg 1 to keys must be hash (not private array) at .//scripts/kernel-doc line 2714, near "@highlights) "
>
> This is happening at linuxtv.org server, with runs perl version 5.10.1.

OK, that's not good. But I'm not quite sure what to do about it.

Perl 5.10.1 is a little over six years old. Nobody else has complained
(yet) about this problem. So it might be best to "fix" this with a
minimum version added to the Changes file.

Or maybe we need to revert the patch.

So I'm far from a Perl expert, so I have no clue what the minimum version
would be if we were to say "5.10.1 is too old." I don't suppose anybody
out there knows?

Thanks,

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/