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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95838C77B7F for ; Tue, 18 Apr 2023 23:41:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231265AbjDRXl1 (ORCPT ); Tue, 18 Apr 2023 19:41:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjDRXlG (ORCPT ); Tue, 18 Apr 2023 19:41:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15E7BBB8E for ; Tue, 18 Apr 2023 16:40:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A681D630E9 for ; Tue, 18 Apr 2023 23:40:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0835AC433D2; Tue, 18 Apr 2023 23:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1681861217; bh=jn1dWjexOOvOy3YHLzAxUiBzgsXsIFdvfo/buoT+pxE=; h=Date:To:From:Subject:From; b=voQRoEQXlmNyxxtxMY6AIi4lQ1T+gEUD2AnZfGoOUp6ymn9FS5y5gU4Qh3dxrSfoG 1RFGv64IBhKeinXRm4WGaPVCy5TcHHl65EnkW10WXNj7MzzDZXTEnpqzeSnzVuruuG QyWFKMMH6ZbaR4dTyfoLEGJdL2EdzbL1EFmnRO70= Date: Tue, 18 Apr 2023 16:40:16 -0700 To: mm-commits@vger.kernel.org, torvalds@linux-foundation.org, lukas.bulwahn@gmail.com, linux@leemhuis.info, konstantin@linuxfoundation.org, kai@dev.carbon-project.org, joe@perches.com, dwaipayanray1@gmail.com, daniel@ffwll.ch, corbet@lwn.net, bagasdotme@gmail.com, apw@canonical.com, airlied@gmail.com, matthieu.baerts@tessares.net, akpm@linux-foundation.org From: Andrew Morton Subject: [merged mm-nonmm-stable] checkpatch-allow-closes-tags-with-links.patch removed from -mm tree Message-Id: <20230418234017.0835AC433D2@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The quilt patch titled Subject: checkpatch: allow Closes tags with links has been removed from the -mm tree. Its filename was checkpatch-allow-closes-tags-with-links.patch This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm ------------------------------------------------------ From: Matthieu Baerts Subject: checkpatch: allow Closes tags with links Date: Mon, 03 Apr 2023 18:23:49 +0200 As a follow-up of a previous patch modifying the documentation to allow using the "Closes:" tag, checkpatch.pl is updated accordingly. checkpatch.pl now no longer complain when the "Closes:" tag is used by itself: commit 76f381bb77a0 ("checkpatch: warn when unknown tags are used for links") ... or after the "Reported-by:" tag: commit d7f1d71e5ef6 ("checkpatch: warn when Reported-by: is not followed by Link:") Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/373 Link: https://lkml.kernel.org/r/20230314-doc-checkpatch-closes-tag-v4-4-d26d1fa66f9f@tessares.net Signed-off-by: Matthieu Baerts Acked-by: Joe Perches Cc: Andy Whitcroft Cc: Bagas Sanjaya Cc: Daniel Vetter Cc: David Airlie Cc: Dwaipayan Ray Cc: Jonathan Corbet Cc: Kai Wasserbäch Cc: Konstantin Ryabitsev Cc: Linus Torvalds Cc: Lukas Bulwahn Cc: Thorsten Leemhuis Signed-off-by: Andrew Morton --- scripts/checkpatch.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/scripts/checkpatch.pl~checkpatch-allow-closes-tags-with-links +++ a/scripts/checkpatch.pl @@ -620,7 +620,7 @@ our $signature_tags = qr{(?xi: Cc: )}; -our @link_tags = qw(Link); +our @link_tags = qw(Link Closes); #Create a search and print patterns for all these strings to be used directly below our $link_tags_search = ""; @@ -3174,14 +3174,14 @@ sub process { } } -# check if Reported-by: is followed by a Link: +# check if Reported-by: is followed by a Closes: tag if ($sign_off =~ /^reported(?:|-and-tested)-by:$/i) { if (!defined $lines[$linenr]) { WARN("BAD_REPORTED_BY_LINK", - "Reported-by: should be immediately followed by Link: with a URL to the report\n" . $herecurr . "\n"); - } elsif ($rawlines[$linenr] !~ m{^link:\s*https?://}i) { + "Reported-by: should be immediately followed by Closes: with a URL to the report\n" . $herecurr . "\n"); + } elsif ($rawlines[$linenr] !~ m{^closes:\s*https?://}i) { WARN("BAD_REPORTED_BY_LINK", - "Reported-by: should be immediately followed by Link: with a URL to the report\n" . $herecurr . $rawlines[$linenr] . "\n"); + "Reported-by: should be immediately followed by Closes: with a URL to the report\n" . $herecurr . $rawlines[$linenr] . "\n"); } } } _ Patches currently in -mm which might be from matthieu.baerts@tessares.net are