Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp848702rwl; Fri, 31 Mar 2023 03:22:39 -0700 (PDT) X-Google-Smtp-Source: AKy350YeWr733HxlYwH/RyIvjzyNpxXSPTWJA2TjsJ8SDNM+g3jrIYcyjWYxEOD97baBFb9p+b09 X-Received: by 2002:a05:6402:4413:b0:502:92d:4f51 with SMTP id y19-20020a056402441300b00502092d4f51mr6165709eda.1.1680258158752; Fri, 31 Mar 2023 03:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680258158; cv=none; d=google.com; s=arc-20160816; b=FK2RWy5Q/uU8EsB3XzXtMIx/FyVg5iQCS23HcsEFKYnx2jVrYAFc8nQKlPaXjOZgs9 8ZcQOs0LQ7Sd6jBFEV6yrO3r5oChGG6JixY3TNy93xK9Tu7Es8HDNchNCAeLeEFwMJmr h1k95OfAW1oakIHqoEXXoCME5DOYvsRtIJ/qqker6ZhFKWH8UlnOu98rN9OEfTROCISJ 4yuFrqK7thhaKMEWTTz5+jWcxPWtn2tFXvh4kvbzjvPxwU7Cg4G6xbCt2yhrvlHj5Q5L hZjOi9tuwWTht2R/lE2JAtUbX/eLKJEsnI4VfypL3ip1zAIGGRdN5MD54EKeiPHxfxOV KuPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JYC/8uRzrCuH+IoYQAOKHM5xqzPAJyXDhjdpELcmRJU=; b=JMALWWlw5/NB+7EWuAwjUoxt6xdo8LObyiv2w7uSMYMglI8SbKBrgOPIZkCm+19Sbb 6SowJfUcSPfwbC5p3SHw1b6ptZUl4DPq17yGe0WQo4ehaVnrCxgD36jLDHhjVe2y3QDg 4rtOd75+20CPHEIOh7MzuS50pTi9pY8i/4y6WS10+21tSDi+5Him29R3fqjOt4sScZK5 RBxfmH/t0k3LVXQpRF6VBCwfT61+qnTeeKdF+5Kw1fdiw1x9WQTOm6IMgdm9uTcJa25N pHRvhvWQZihkdEq0iKfMRlsfHxI/emi4ic6T+7btX0zIfrEXi1nn1RZNpcr/VplQ2FWf xuEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares.net header.s=google header.b=HsqZ0sJi; 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 g1-20020a50ee01000000b004fd25330f52si1783629eds.117.2023.03.31.03.22.10; Fri, 31 Mar 2023 03:22:38 -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=HsqZ0sJi; 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 S231384AbjCaKT2 (ORCPT + 99 others); Fri, 31 Mar 2023 06:19:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230126AbjCaKSx (ORCPT ); Fri, 31 Mar 2023 06:18:53 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9E5924AD0 for ; Fri, 31 Mar 2023 03:13:51 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id i5so87782663eda.0 for ; Fri, 31 Mar 2023 03:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares.net; s=google; t=1680257630; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=JYC/8uRzrCuH+IoYQAOKHM5xqzPAJyXDhjdpELcmRJU=; b=HsqZ0sJif04iEEWzU9eJ2arv3VTzqjCTE6uEmdOQ1RxR/bMpi+hgKeuuzphu9eVpaV t9vk6sJ+1D/K30XLtz4LZDKpb2nwgwwFwX9QwYDGJ94oK/vxWB7aa8OgGd6CHLmUUQrG JBoiqHhn1CKcpp1mw1P5GantuqCn8DpBd+WBRpc3Kta25HuQEw5r7evBroEbLjaC+VLT FeI/arsS9x5H0ejQ3qq0Hj5O/iUQn2G+AFOwxm/qG0He/QoZFTFi9WF9eURsOCLtA/Fp jAIUlTRAd3RiY24QabNXb7HmGp5j7Tg/bcfS/UDuTxmVv7ZCvzcmR9fI2F5ILdzuN5nU COzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680257630; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JYC/8uRzrCuH+IoYQAOKHM5xqzPAJyXDhjdpELcmRJU=; b=VF/Jas+ao7XYTdYIENYdRyOdGzckCuaGSJ5OTnPCfti0VGpYeLa2c9LNVPf11663X3 Qezs5GE9Y9wvAxGkVxnfVw267LeP/wEKJpt4eZmNTAIO/j4Dv06Pi/1MGl4jyxkmyoHM epsqn5LLLFAW3kG7FGzac9Y5IVl6K0yCeGvZxyYYFI65FBi6TjTSGqjB3O6hkOWCE+rz rDcH4yXs/vZmhzoU8chPEyaAtByGZ9ZX5soQ1KLS8cjo7z+ZhVwx3qyrETLJ6RjTVsEk RQf/4mxoPM9TR+mA7XxoV/Rw/+VKoqtt5wlCz/BDEP0KcheX8wGgr5oO8j0v03t+Qa6D 0rIA== X-Gm-Message-State: AAQBX9cPAJ8ArlwFEdmSZ4kulyfElWscoDIOPZ0wWW0BOv0sQVkM8U/K bp9L431MWPvppiRMaCWaPh1HQij0M82qkSYDza7vZg== X-Received: by 2002:a17:906:44b:b0:931:624b:680c with SMTP id e11-20020a170906044b00b00931624b680cmr26583862eja.29.1680257630349; Fri, 31 Mar 2023 03:13:50 -0700 (PDT) Received: from [10.44.2.5] (84-199-106-91.ifiber.telenet-ops.be. [84.199.106.91]) by smtp.gmail.com with ESMTPSA id u25-20020a1709060b1900b0093e39b921c8sm806334ejg.164.2023.03.31.03.13.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Mar 2023 03:13:50 -0700 (PDT) Message-ID: <949a3539-d751-8c35-f161-de40de810c26@tessares.net> Date: Fri, 31 Mar 2023 12:13:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 0/4] docs & checkpatch: allow Closes tags with links Content-Language: en-GB To: Thorsten Leemhuis , Jonathan Corbet , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , =?UTF-8?Q?Kai_Wasserb=c3=a4ch?= , 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, Conor Dooley References: <20230314-doc-checkpatch-closes-tag-v3-0-d1bdcf31c71c@tessares.net> <2194d19d-f195-1a1e-41fc-7827ae569351@leemhuis.info> From: Matthieu Baerts In-Reply-To: <2194d19d-f195-1a1e-41fc-7827ae569351@leemhuis.info> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Hi Thorsten, On 31/03/2023 11:39, Thorsten Leemhuis wrote: > On 30.03.23 20:13, Matthieu Baerts wrote: >> Since v6.3, checkpatch.pl now complains about the use of "Closes:" tags >> followed by a link [1]. It also complains if a "Reported-by:" tag is >> followed by a "Closes:" one [2]. >> >> As detailed in the first patch, this "Closes:" tag is used for a bit of >> time, mainly by DRM and MPTCP subsystems. It is used by some bug >> trackers to automate the closure of issues when a patch is accepted. >> It is even planned to use this tag with bugzilla.kernel.org [3]. >> >> The first patch updates the documentation to explain what is this >> "Closes:" tag and how/when to use it. The second patch modifies >> checkpatch.pl to stop complaining about it. >> >> The DRM maintainers and their mailing list have been added in Cc as they >> are probably interested by these two patches as well. >> >> [1] https://lore.kernel.org/all/3b036087d80b8c0e07a46a1dbaaf4ad0d018f8d5.1674217480.git.linux@leemhuis.info/ >> [2] https://lore.kernel.org/all/bb5dfd55ea2026303ab2296f4a6df3da7dd64006.1674217480.git.linux@leemhuis.info/ >> [3] https://lore.kernel.org/linux-doc/20230315181205.f3av7h6owqzzw64p@meerkat.local/ >> >> Signed-off-by: Matthieu Baerts > > Maybe it's just me, but I think those changes do not make it clear > enough when to use Link: and when to use Closes. Find below an > alternative proposal how I'd do it for consideration that goes > 'all-in' for the sake of simplicity. Thank you for the new proposition. I like your approach of forcing people to use the "Closes:" tag, I didn't think it would have been OK. I will wait a bit before sending a v4 just to get more feedback about that. The good thing with this approach is that it makes things clear. The "Closes:" tag is then no longer an alternative to "Link:" but a different tag, e.g. to be used after "Reported-by" as you did in your patch. I guess as any warnings from checkpatch.pl, it needs to be interpreted, e.g. if multiple bugs are reported in the same report as Conor mentioned. Cheers, Matt -- Tessares | Belgium | Hybrid Access Solutions www.tessares.net