Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1807444ybz; Thu, 30 Apr 2020 05:58:54 -0700 (PDT) X-Google-Smtp-Source: APiQypJrK61Ghu+i5gFXFNn2VkYgI0A9vAD44DqHgAea6eia1wmKmyni+9gAzeEQP+99n2BgvGxe X-Received: by 2002:a17:906:808:: with SMTP id e8mr2498314ejd.372.1588251534018; Thu, 30 Apr 2020 05:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588251534; cv=none; d=google.com; s=arc-20160816; b=idu5TR8zzdN7z7hfk4cqnMPs9HD/fYmkI5E6UUlP1n1lMZBJPtLzz3G6FlRFSU0XWG hIAFWGaSJxUOciJ7HhybJImLzGAdUuLgEEerk/sf6d7HtEhQAEgr3safU/hm7sVlbTks +64ORnyl/S9av2+8lqc1fhPtSRPx5L8RKENYjLWu/f8Rgm97HSEi9Ur5nDVGEOvWKHkC I2Am8nI2aFs97BCSKsvtSMfETzOTANgtaUQiODN4KKbwvAPAdiZOf7gfMh5XObPhuSbV 92iv4zq7bjUYwOBYPf64jfYI6r4tesRPPaVkMv6E0o4B5svAfcGa/L2UedCypV2MMgJX s0Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=wdAvI3LUiwrfy87yREuLPNednn19RW9tCdeasjU7N08=; b=vmA7PAxl6lMKftya85NZjzjCu9dwqHa9NnA+u8kofskHWjGIYxF2ClLUX3zdVLxRwb kPzbG0medPuDwRSD++gD0keGJ42/OaXKe1wLJUAjH7F5A2sAqSHfj3IMenOJUIS1l3/r mJWfk4zSu80ukMxr+I66KHU1Q5BrKOdCG49on2IocoltrTJrS7Ha0304vUDDZHO0amEO v72svk51CEa/vtov6Z+AlftpaolUaPeeDUodCB89Mh1DCvcHts7FKzukOURY01kilhlv f1+EM7L1PPDr1oVp1BcBOjQw6kQH8S1ASruXi+yx/BiOBd2OMtiae9hUM+a3NLO99AZT /BfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gUmy9IDn; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gv6si5779609ejb.388.2020.04.30.05.58.29; Thu, 30 Apr 2020 05:58:53 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gUmy9IDn; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726781AbgD3M45 (ORCPT + 99 others); Thu, 30 Apr 2020 08:56:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726483AbgD3M44 (ORCPT ); Thu, 30 Apr 2020 08:56:56 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDAFFC035494; Thu, 30 Apr 2020 05:56:56 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t16so2212768plo.7; Thu, 30 Apr 2020 05:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=wdAvI3LUiwrfy87yREuLPNednn19RW9tCdeasjU7N08=; b=gUmy9IDnD49clVIBN/3OEWsI1xjBCVLrFqz7imxdr3r2losZbkBbVhp6M/Igt76Ere gppPSSzSF5f/bMZj8HWm0QM58EYMhonSosu8NIG7Rw6MiOdQ7m20lgwGQVqqPEsjYIK+ AMQb+ObbgEH0Ua7GejCvZxDJVZaGTKMNNUqamzLUfvmhczYAd6kT9xKEKI/JJ38qek5T 9uyvtzM4ZB4C/yl0lDBjH6r7YLq+Lugys7uxGqSD3BYmtDgACDJlWA9TI87H/mQWEx8C QujKVOuPxEo+QGPS51SNipSY7XJf7aD0V0hG42uh7FJMOIV74b7hvxeSKmrP0KV4gG4/ Imcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=wdAvI3LUiwrfy87yREuLPNednn19RW9tCdeasjU7N08=; b=cp0jN18C4Ln2xE4d/SX7mUy7aBIsggq3Kv0yvfOqTMz4cCkVe2PP9T/P/p/DgEdIT5 324Kx8wCQ2Ao5M1koSMnJYelx7q/7s3f7A1NAjZkIxcABul9w5XbRPFvHsdJTy1GoRGK J/tIPMC9iERpeZe7R7NjGe2D8JBoaHBFm4Vcx0qWx32p9/+4YEltg70Efz/PTR986oRg DcFs4kpUscYIQvHyUzqTaYrElB4cQvtGZq/Bm6cE7SJKysMau9j/4fmzTddfkvOWpJVn iWs7Cnw53zwfkoA+4TeyQzEattS1W8Ic9eFD7V86YdVF/mWEf8OER4jme7bOn/CVonDm EICg== X-Gm-Message-State: AGi0PuZ9iRacPdSza9r03cdngxk8lc8TBn9z5HNwHY/QAo7jaGhuxHhS 6IXI3jvWmZ1Xt1SAO7E8OlA= X-Received: by 2002:a17:902:14b:: with SMTP id 69mr3624171plb.121.1588251416235; Thu, 30 Apr 2020 05:56:56 -0700 (PDT) Received: from udknight.localhost ([59.57.158.27]) by smtp.gmail.com with ESMTPSA id a16sm3111592pgg.23.2020.04.30.05.56.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Apr 2020 05:56:55 -0700 (PDT) Received: from udknight.localhost (localhost [127.0.0.1]) by udknight.localhost (8.14.9/8.14.4) with ESMTP id 03UCuJrl032023; Thu, 30 Apr 2020 20:56:19 +0800 Received: (from root@localhost) by udknight.localhost (8.14.9/8.14.9/Submit) id 03UCuEeT032019; Thu, 30 Apr 2020 20:56:14 +0800 Date: Thu, 30 Apr 2020 20:56:14 +0800 From: Wang YanQing To: Markus Elfring Cc: Joe Perches , Andy Whitcroft , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov , Matteo Croce Subject: Re: [PATCH] checkpatch: add support to check 'Fixes:' tag format Message-ID: <20200430125614.GA30691@udknight> Mail-Followup-To: Wang YanQing , Markus Elfring , Joe Perches , Andy Whitcroft , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov , Matteo Croce References: <20200429163645.GA13810@udknight> <4112ab7e-1f06-d880-e471-084c78bc84d4@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4112ab7e-1f06-d880-e471-084c78bc84d4@web.de> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > > And there is no sanity check for 'Fixes:' tag format in checkpatch the same > > as GIT_COMMIT_ID for git commit description, so let's expand the GIT_COMMIT_ID > > to add 'Fixes:' tag format check support. > > I have got the impression that this wording might need another bit > of fine-tuning. The current wording is enough I think. > > > > + "Please use git commit description style '$prefix <12+ chars of sha1> (\"<$title>\")' - ie: '${init_char}" . substr($prefix, 1) . " $id (\"$description\")'\n" . $herecurr); > > I imagine that the support for different quotation characters > can become helpful, can't it? No, we don't need to support other quotation character for 'Fixes:' tag at least now. The submitting-patches.rst tells us the pretty format is: “... Fixes: %h (\"%s\") ...” > > Regards, > Markus Thanks.