Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7655rwl; Thu, 30 Mar 2023 11:18:26 -0700 (PDT) X-Google-Smtp-Source: AKy350YmOUkcWsPKzZ00mE3/cm+rjpUMGUDnFpKBkbR9j7UKAv0PaV9voMZPBIJE7iLdgaqCa4Mw X-Received: by 2002:a05:6a20:748c:b0:cd:fc47:dd74 with SMTP id p12-20020a056a20748c00b000cdfc47dd74mr3364186pzd.4.1680200305998; Thu, 30 Mar 2023 11:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680200305; cv=none; d=google.com; s=arc-20160816; b=Bz5jPZrgelSBShc2lwXWw3IWqGaVFQ849UudT65E/7TpxZowoeEwyiMDztuKIjzzeQ FxmkQibujoZaLv+o4sqC491c/ZP4mfWRQvM0OmZUfSZGR2qE/DokYYSVZnAKVleo4YVE ptEgYLubOjuDX4iirc1whB7HsEqBW3bTU5KcLiqe91aT8AqxStvVJfOkDO/mp3s9DJFj 0QTWpEFkeewC/gcK40/o0jpMPxmG7FdLyFTzbdxDTgUNmLBmduUXiu3d3tfVRG4qmkpA EakmU7WTFbFcYiC7ef5dRf/i8tMz5EWhmze0cH+SAc/+kN2lJkB/cB7gHL+Ol0w4+LCO GsjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=kWvu93s3B9VjmqDMiiXdedDGk5MrX3CFDculOGxbOWA=; b=hGRBBbO9vOZYptLPZysEVB8/1IOYwgHEhsc33s2EUsRfZ2VH0sKGnOjfbk9XxLBBJH 3uuTMGDheWmLYgIEBNJhW8dmkFQsD4j2qDRQxDJt69YDm+ecnfxK644ZgTIG/cuj0Btp NYn2LRTiv/fPk6ZIcj+3+zIaDcT5WJAHc9PWzqIOdR/a9iH4vEkSSLGOZwofhprzR1vU hJZvVQkQItu23yoYmp9o+1fLTWXHuRjuQYFjkHfr0KsdDrXKqWhes7i2hgHBUHHCBhw/ 4wFA1yQsUjzw+ur5hduSN7Vi7I4/edKG4mrbQYLgZbU0Zx+zSPL3aADsOZkt2xlBtTUN 0wfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares.net header.s=google header.b=sli5Zcnh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=tessares.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p24-20020a634f58000000b00502e6e5b580si181161pgl.756.2023.03.30.11.18.04; Thu, 30 Mar 2023 11:18:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tessares.net header.s=google header.b=sli5Zcnh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=tessares.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230425AbjC3SOA (ORCPT + 99 others); Thu, 30 Mar 2023 14:14:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229916AbjC3SNt (ORCPT ); Thu, 30 Mar 2023 14:13:49 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D000D516 for ; Thu, 30 Mar 2023 11:13:48 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id y14so20003009wrq.4 for ; Thu, 30 Mar 2023 11:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares.net; s=google; t=1680200027; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=kWvu93s3B9VjmqDMiiXdedDGk5MrX3CFDculOGxbOWA=; b=sli5Zcnh9i3zNFg0OD4NJPjzj5UPngZ7yeiqMMUves6L/8ZJDHVNC3ONaZ0AIC5yTQ QPj6iYADmhwpApfEAzvdNjYd2EusisdpRaAUcu59P0Hmt6hV76sU2XaBlk9e/ZQqDa3o 9Blb/mtUqXj12HRbpXYfuM9xIjrpZP8IcSjfV1pAcqGNjBTp5jxqJdU2R8MdycMnWRY7 tH+KHrdlazlSAzTx2p2hgMOAOFMAZJIxesKhkQpBqmZx5kB380/W2iFcH1EFauzVNA98 wxewA9SGDs0AxubFXATsh0YzLUsHTtS08CB3oq4pTm/vPZLaoGMM6ASZV/utCcpaYZkP i9Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680200027; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kWvu93s3B9VjmqDMiiXdedDGk5MrX3CFDculOGxbOWA=; b=4jBh90xLCJCx/GZYAZewaMBBj48uJcsNazdfqaGrLkhv06/1iNHp41Al7ISiaT3MLC 89yfuOM2rY4arqyZnZTXaicVF+ugSe5SKfeJGAQBVtvuGJQSHO8/vzny9iMSozAxyQK5 6k4rKFJNCQfQrgjQPCGLxX9TQJaqXpY3epu4NwZ+25kNEaN3FrCAazKYd/9LGgkn53Jq GCWyHZFAMQLoiFGdPv8YWMI7kHbSeoH6Ra3LwmxMuEMchsNA79W3E3vNhNQ47hekBtt0 n5NnweN3s07HzWDb5VTnTOmBs+a2QR1ct2RiowfJGJVV7iBVbYJFGLT5xu8zn4b+f3dr qrsg== X-Gm-Message-State: AAQBX9cCPfwZ7VDSA69cFPV69Z8A6LK7i6qD30XGy4L2zeHVfGSS03BF np/kU27AizMdkF8KSyEM9t2shg== X-Received: by 2002:adf:fc8e:0:b0:2d5:39d:514f with SMTP id g14-20020adffc8e000000b002d5039d514fmr19572798wrr.65.1680200027085; Thu, 30 Mar 2023 11:13:47 -0700 (PDT) Received: from vdi08.nix.tessares.net (static.219.156.76.144.clients.your-server.de. [144.76.156.219]) by smtp.gmail.com with ESMTPSA id e18-20020a056000121200b002d24a188b64sm33459741wrx.112.2023.03.30.11.13.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 11:13:46 -0700 (PDT) From: Matthieu Baerts Date: Thu, 30 Mar 2023 20:13:25 +0200 Subject: [PATCH v3 3/4] checkpatch: allow Closes tags with links MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230314-doc-checkpatch-closes-tag-v3-3-d1bdcf31c71c@tessares.net> References: <20230314-doc-checkpatch-closes-tag-v3-0-d1bdcf31c71c@tessares.net> In-Reply-To: <20230314-doc-checkpatch-closes-tag-v3-0-d1bdcf31c71c@tessares.net> To: Jonathan Corbet , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , =?utf-8?q?Kai_Wasserb=C3=A4ch?= , Thorsten Leemhuis , Andrew Morton , David Airlie , Daniel Vetter , Konstantin Ryabitsev , Bagas Sanjaya , Linus Torvalds Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, mptcp@lists.linux.dev, Matthieu Baerts X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1288; i=matthieu.baerts@tessares.net; h=from:subject:message-id; bh=D3yoDenjNEV/KCtG0U0EPfT8PJhrudmfXIcKaZcGmXw=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBkJdFWQocAajiRNqyFvXj5qo4/2Z8WWqi1nIZBk 5QwkcAZ+n+JAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZCXRVgAKCRD2t4JPQmmg c9SgEACJgEzspH+uZoG/13hgM9PKxSlrJyloUsc7rMZyyotfkMCSrhRetdU39HLP0ov13RMhD7x HyTbtXG6yJcsIyrNO7E1sjh/VsWLuSRUNc88IRngD4gPFXZ9dYSOxP8xhg8vSW59EmXi4eHVEW9 FvharwxCLiaMfgbpEn6oKbgTv+5f9O5jJZ8In6M1fGvK8FPXd1AZc8fIrIQrGumKSK+SxUDP4z6 8+cx1flxxcXVJHy63snCsalNGkWNj03Fea9dLRaGGQn5YcWjeUcO5wr9JMNLsb9ab6alLGgWzwr yvf2tPBVjV3FMEWfYBRqDEhYtXdL857Nzu9ZXX1c+KRDrmYoKNHoNUdL5E1G+g7ZIruYEBAr4b5 wzd+dkxAR30b0v8xbsdJ7VcTwppgqA5j67MJZbNMstx9fGZMSuTKIQE23VZc28fJHfhTX/fJTwT Uw9lMq4duCsQHUKbEby1KjZz2xZRCvw5khoin0vCsBG1kB5CG3tMzD2WtUT9l7/4lZ0pNxBiFv7 DU3Fn4vpAPDBC5RZTS0Gu17bcoLNkKFlMTE6J/c96yTIKjQL7Q5JLlWzJ/uM7PTIrP+tHpzS9pU Ybx1BImfE7gTrV3hC08Kw/i6FBHVhwbtPLTF8tkzi2fCIFgjwGCcW6uqBVX3Y1Lpj3SAZe0MC+G 7ASkSErSjwx7pPw== X-Developer-Key: i=matthieu.baerts@tessares.net; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 or after the "Reported-by:" tag. Fixes: 76f381bb77a0 ("checkpatch: warn when unknown tags are used for links") Fixes: d7f1d71e5ef6 ("checkpatch: warn when Reported-by: is not followed by Link:") Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/373 Signed-off-by: Matthieu Baerts --- v3: - split into 2 patches: the previous one adds a list with all the "link" tags. This one only allows the "Closes" tag. (Joe Perches) - "Closes" is no longer printed between parenthesis. (Thorsten Leemhuis) --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9d092ff4fc16..ca58c734ff22 100755 --- a/scripts/checkpatch.pl +++ b/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 = ""; -- 2.39.2