From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26C4EC432BE for ; Fri, 20 Aug 2021 17:34:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0FE7461156 for ; Fri, 20 Aug 2021 17:34:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232694AbhHTReh (ORCPT ); Fri, 20 Aug 2021 13:34:37 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:37202 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbhHTReg (ORCPT ); Fri, 20 Aug 2021 13:34:36 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 17KHXall026146; Fri, 20 Aug 2021 19:33:36 +0200 Date: Fri, 20 Aug 2021 19:33:36 +0200 From: Willy Tarreau To: Joe Perches Cc: LKML , Dave Hansen , Matthew Wilcox , Dwaipayan Ray , LukasBulwahn , linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-hardening@vger.kernel.org, linux-riscv@lists.infradead.org, netdev@vger.kernel.org, linux-csky@vger.kernel.org Subject: Re: What is the oldest perl version being used with the kernel ? update oldest supported to 5.14 ? Message-ID: <20210820173336.GA26130@1wt.eu> References: <37ec9a36a5f7c71a8e23ab45fd3b7f20efd5da24.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37ec9a36a5f7c71a8e23ab45fd3b7f20efd5da24.camel@perches.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, Aug 20, 2021 at 10:27:59AM -0700, Joe Perches wrote: > Perl 5.8 is nearly 20 years old now. > > https://en.wikipedia.org/wiki/Perl_5_version_history > > checkpatch uses regexes that are incompatible with perl versions > earlier than 5.10, but these uses are currently runtime checked > and skipped if the perl version is too old. This runtime checking > skips several useful tests. > > There is also some desire for tools like kernel-doc, checkpatch and > get_maintainer to use a common library of regexes and functions: > https://lore.kernel.org/lkml/YR2lexDd9N0sWxIW@casper.infradead.org/ > > It'd be useful to set the minimum perl version to something more modern. > > I believe perl 5.14, now only a decade old, is a reasonable target. > > Any objections or suggestions for a newer minimum version? It's probably reasonable, even the Slackware 14.2 on my home PC, which is starting to date, ships a 5.22. Willy