Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1977276ybz; Thu, 30 Apr 2020 08:43:17 -0700 (PDT) X-Google-Smtp-Source: APiQypIvWSLXfik7vAwgWRE/o5scngrTShkI4gaSPw31S4j7Gld1yprOrVWiS2eI1jCakGOjkmyE X-Received: by 2002:aa7:ca45:: with SMTP id j5mr3152383edt.268.1588261396849; Thu, 30 Apr 2020 08:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588261396; cv=none; d=google.com; s=arc-20160816; b=Nx0Q50wiltDHzvvD2f/pXNQQP6OXIdyGQHWcEXe0dS/BjQQBgQYCcJX3RoZU8FeR6/ 2qhWfqitn00DeUZxiclaUsFUC3Cm5tggxny9hkUyHmpzoYp/8cK1EsEIWKI4nELxSJHZ 8nX8PzhIOy/Qrcgxe5nkCCfBHvtt6PPEVpXWsltZpISvMzkSCbSBmzuBr3Y80SYgPZdu 435RHyM/BQn0kAWCzQMsa0wj3h4oQSR0v/I9XlneICxypEFw3RIv6zD56TDoLuOszhv7 gK84ZpobUX3aFybtMMzjDOR1Inbg9epT9gYl8/tAqBodm2Z6VNLOMJdCGVcgJUNGjQYq 7n1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=IY06c6lVD200znpvQSDPLBCtIsBjsIF91H0ncYWoKRs=; b=u3F+d4sl42LTCQPPQT3jAzpqr6T38Z83MP5KtHxmQ20cInBH6edDsSXCv2iabJeMsu 2yOqTFie9Jv9Y3Vhh8w0SkcpbYlBKFstTXHN7076uYXiffKPb6+zgjLn/oOjI31kBhh0 WTjkZ1+ruHJx6Rq7rBr3BXrDEnDpHoJ3E9FhmEiG+SOvRWQ1poCIRboKuwS8VupQ9ytX Tf8zKeirPwgl176z+yySbbpJ73zDwYu0YAR5UlwekGU14xUIzYD/hjCBSFjeHTscNl3a 0Ph6hC40tYr86k3N6R0KJxFKWdqBktWiMQ5/mB+R/CjmYGfphHgeyKi/z3bTRvxFXDLt n9kQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j21si5651380edt.523.2020.04.30.08.42.53; Thu, 30 Apr 2020 08:43:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbgD3PlW (ORCPT + 99 others); Thu, 30 Apr 2020 11:41:22 -0400 Received: from smtprelay0083.hostedemail.com ([216.40.44.83]:37512 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726346AbgD3PlW (ORCPT ); Thu, 30 Apr 2020 11:41:22 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id DCA6C18224D6A; Thu, 30 Apr 2020 15:41:20 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:152:355:379:599:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2693:2731:2827:2911:3138:3139:3140:3141:3142:3353:3622:3653:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:4425:5007:6119:7903:8957:10004:10400:10848:11026:11232:11473:11658:11783:11914:12297:12555:12679:12740:12895:13069:13071:13161:13229:13311:13357:13618:13894:14180:14181:14659:21080:21433:21451:21627:30054:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: thing45_28b1dc48c5410 X-Filterd-Recvd-Size: 2578 Received: from XPS-9350.home (unknown [47.151.136.130]) (Authenticated sender: joe@perches.com) by omf19.hostedemail.com (Postfix) with ESMTPA; Thu, 30 Apr 2020 15:41:19 +0000 (UTC) Message-ID: <30efd2838a876029600806e9b53e3284ccabc88d.camel@perches.com> Subject: Re: [PATCH] checkpatch: add support to check 'Fixes:' tag format From: Joe Perches To: Wang YanQing , Markus Elfring Cc: Andy Whitcroft , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov , Matteo Croce Date: Thu, 30 Apr 2020 08:41:18 -0700 In-Reply-To: <20200430125614.GA30691@udknight> References: <20200429163645.GA13810@udknight> <4112ab7e-1f06-d880-e471-084c78bc84d4@web.de> <20200430125614.GA30691@udknight> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-04-30 at 20:56 +0800, Wang YanQing wrote: > On Wed, Apr 29, 2020 at 07:40:21PM +0200, Markus Elfring wrote: > > > “... > > > Do not split the tag across multiple > > > lines, tags are exempt from the "wrap at 75 columns" rule in order to simplify > > > parsing scripts > > > ...” > > > > Why do you not like the reformatting of the quotation so far > > (if such change descriptions should cope also with specific > > Unicode characters)? > > > > “… > > Do not split the tag across multiple lines, tags are exempt from > > the "wrap at 75 columns" rule in order to simplify parsing scripts. > > …” > > > > > > Sigh. I will fix it, but I want to hear from Joe Perches before > next patch version. Hello YanQing. Just ignore Markus' replies here, he's well meaning but perhaps overly focused on trying to impose formal, but somewhat antique grammar and word choice uses that aren't particularly important for review. The most common variant I see here is someone writes Fixes: SHA1 ("Truncated commit description...") to apparently avoid a long line. btw: you can test your patch using checkpatch and --git like: $ git log -10000 --no-merges --grep="Fixes:" --format=%H | \ while read commit ; do \ ./scripts/checkpatch.pl --git $commit --types=GIT_COMMIT_ID --quiet --nosummary; \ done You could filter that either by modifying the patch changing to "GIT_COMMIT_ID_TEST" and changing to types=GIT_COMMIT_ID_TEST just for Fixes or maybe use another grep like grep -B3 -A3 "Fixes:" -i