Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2807095rwb; Fri, 20 Jan 2023 07:36:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXt7xvH6ilGsNRkNHraV1hQacA7KMFVy96icAwhI7wiIFXsgL8iWKccgvG14OROWznCxCw9i X-Received: by 2002:a17:906:3e13:b0:877:839c:bd6c with SMTP id k19-20020a1709063e1300b00877839cbd6cmr5207301eji.71.1674228975887; Fri, 20 Jan 2023 07:36:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674228975; cv=none; d=google.com; s=arc-20160816; b=n77QvBQ5iPv6CwN+iaV4U29rjec91KgACZfp7aaNBa9ro6p+IZTTN7rakUiSLp6ROn DcKzutBPj268TVJ39QpB6uEI+H/Lzo2n1+nDx4KzvmHS90d9MTfZE1xX3E2Si3uYKkPN GcGL+mFbF1F9XYA0uqSs+tbS5psmRQ0rjxk540gMRykkanQkhvt+WAKHZ97h/AJwffde +VCeZylY2p+LB02askSTk9A0wTapLjmVxDWwrl+i9LlqXsOFLH1s/jUPAoQnH52+J/mc TeRGiHy3nOBypMJUksKcawqu1WR34bDCCrJA/tPa5340JedDPSwARIxtVs7LZMxE2IX2 0KPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=H0mPFIPjGYnIV4glFGCafQ+GCYCE7Hi+6vOYDsG7tho=; b=T7WPETkib32Y+B+Q5Y/PZ9mKzO+CxRU+/bdBNPRiUonPcT1Hsaceqc4MGhywWrk4IK whu1oubCuBVNzkj7lYe5mLWJqWeSnaT3NAv/XZA+pYhUBi43ZrmqR5RXHZXmaDJxOs5a +DU0IwK8L1l8DEAPnOQLSDqj1b1Dp0LE1NFa4eJYdrBCxx0UrRwfqVa+9nRCM6pv462e s3ywEWczUfbkRlK3uafL0hro9bKCBRIcmrLQl3KljF8yeWE1WazDnP+cxsBnD4V3J+GI T3Fdpw9robSgsycbcA9wUVDvr97/jrKvZJQVl5SHZbt8tqfwW+CKNuCzrPs81nPG9mPY eV7g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ks23-20020a170906f85700b00877a3686affsi1698911ejb.447.2023.01.20.07.36.03; Fri, 20 Jan 2023 07:36:15 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231355AbjATPUm convert rfc822-to-8bit (ORCPT + 49 others); Fri, 20 Jan 2023 10:20:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231349AbjATPUh (ORCPT ); Fri, 20 Jan 2023 10:20:37 -0500 Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 097B3DA135 for ; Fri, 20 Jan 2023 07:20:31 -0800 (PST) Received: from omf02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 436D040EA0; Fri, 20 Jan 2023 15:20:30 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA id EC03580012; Fri, 20 Jan 2023 15:20:27 +0000 (UTC) Message-ID: Subject: Re: [PATCH v4 0/3] checkpatch.pl: warn about discouraged tags and missing Link: tags From: Joe Perches To: Thorsten Leemhuis , Andy Whitcroft , Dwaipayan Ray , Lukas Bulwahn Cc: Kai =?ISO-8859-1?Q?Wasserb=E4ch?= , Andrew Morton , linux-kernel@vger.kernel.org Date: Fri, 20 Jan 2023 07:20:26 -0800 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-Rspamd-Queue-Id: EC03580012 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Rspamd-Server: rspamout03 X-Stat-Signature: mq45ssaa1wyt6wzwy3si8sioxcdijxum X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1+InloTelwLFOCX7E3izLiKAlfPYfGM9Zs= X-HE-Tag: 1674228027-382225 X-HE-Meta: U2FsdGVkX1/XdT+PMeAPR0BitOZi+Yc1azXnLLWH6Oz1GZEs+Y2/cnA2Pbn7Z/DJwFkWAbhJslfEO5ItZ9vfCg== 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 On Fri, 2023-01-20 at 13:35 +0100, Thorsten Leemhuis wrote: > Hi, please consider the following checkpatch.pl patches for review. > > The first two changes make checkpatch.pl check for a few mistakes wrt to > links to bug reports Linus recently complained about a few times. > Avoiding those is also important for my regression tracking efforts a > lot, as the automated tracking performed by regzbot relies on the proper > usage of the Link: tag. > > The third patch fixes a few small oddities noticed in existing code > during review of the two changes. Hey Andrew. Please forward this patch series upstream. Thanks, Joe > > Ciao, Thorsten > --- > v3->v4: > - address review feedback from Joe (do not allow leading spaces in > matches, check if Link: is actually followed by a URL in one go, > and use m{} for matching https://) (Thorsten) > - catch Reported-and-tested-by as well (Thorsten) > > v2->v3: > - address review feedback from Joe (grammer fixes, use of $herecurr, use > of --no-merges in commit log quote) (Thorsten) > - warn when people try to add version information to the commit log > using code suggested by Joe (Thorsten) > - add a patch to make existing code in a nearby area use $herecurr where > it should, which Joe noticed during review > > v1->v2: > - add commit messages explaining the reasoning (Thorsten) > - approach the usage of wrong tags with an allow list as suggested by > Joe (Thorsten) > > Kai Wasserb?ch (2): > checkpatch: warn when unknown tags are used for links > checkpatch: warn when Reported-by: is not followed by Link: > > Thorsten Leemhuis (1): > checkpatch: use proper way for show problematic line > > scripts/checkpatch.pl | 34 +++++++++++++++++++++++++++++----- > 1 file changed, 29 insertions(+), 5 deletions(-) > > > base-commit: 5dc4c995db9eb45f6373a956eb1f69460e69e6d4