Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp850372ybz; Fri, 1 May 2020 09:38:49 -0700 (PDT) X-Google-Smtp-Source: APiQypIwYN0PR7N3Nj2aZrNme2DnZ/Lfbv9Dd0DFeEVYiAygN4hUJ5H/dI4S+bqelSViH0hKmALN X-Received: by 2002:aa7:c1ca:: with SMTP id d10mr4438876edp.152.1588351129570; Fri, 01 May 2020 09:38:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588351129; cv=none; d=google.com; s=arc-20160816; b=NJKAeWCwBSTmfqbG7pBPTw6k5vv24p7bZzBM5/+L3tcPW7AJEaTNRCJCIIapA+tgbq mU1TbiXi4dsNP1q9tb1Iih1ybKV/UKcY1MmnAoFdHrzzySdHsQUYZduQMt7iE5NK9nkd ZoBCRbUxN1l4iCxLH/Juo0MIG0qBaNRhf/LxpC9O8bEA5OiK0/4qPs2NbESRHi+hR0KR b9XV+uRHrVLhU/C+ly9OgpZAtckNPtxwpsTrpW/h9SQavHPx3/ax4/WOa1eIjU0hKYdX 5geXbF/G+/oVe30sxEIM1R0UHXZWq2TufO/tv6cCmYjhUbOQC6YpENrJ3KtNk7WEuLEq Na9g== 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=LOCLhxjzGT7WvTJ7KJtjfQrNcETlh804e30Mz9BMbJ0=; b=zeDS8G1IcyYnDjyp4Od+ms0rVIaJ4giHYIYe/OHXPo4XgaTQ7yOG0kYM1M0QJNpmMa HDQLZP4REOJq4SqoEYz6TTKwqOAOIRF56aKCwRv0kl5g4MT8LPT0CHpX71bUFT6lB7za sptlt4zmx+j3kk804fxXmSs1VFp6GtGiKMnvUNWxA0ylgOXas6+jDuXbOuaTqnK6Lhad 926beo6cxMGwNAMKVDdOTwZnoECi3L4VpgrpFOt4ApP4YF9A+SVgUEjTwViyXIhlEXWJ D8VzHVafYqMwjsbgHNkjfzlHvPJZwGWpPaxRtoox2UUlaui3E/VPtoX2QKDqKOoiY3hj DX6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LmIjQHAo; 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 r10si1898499edo.480.2020.05.01.09.38.26; Fri, 01 May 2020 09:38:49 -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=LmIjQHAo; 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 S1729286AbgEAQhG (ORCPT + 99 others); Fri, 1 May 2020 12:37:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728443AbgEAQhG (ORCPT ); Fri, 1 May 2020 12:37:06 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2FB5C061A0C; Fri, 1 May 2020 09:37:05 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id l12so1909420pgr.10; Fri, 01 May 2020 09:37:05 -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=LOCLhxjzGT7WvTJ7KJtjfQrNcETlh804e30Mz9BMbJ0=; b=LmIjQHAouDZBqRO2Z7NupCQgXGSaK5rRAwDV045S6iNq+K4F818cYyiaoUReiRS125 a46Uy0rJjbP9qz/pGk3GKffWewVFeHR71gjLcOBqbum+ZYmS1LoUsangw62aiG0iLv3z 9mVjfmWPZJEaImoOpcvcdJVJjxtJeGFbkRQK0tcLZwvzPgPz1R9CuM8dXnxc2T5pgSBn TMnyModlWTHULd/QB0UJTX3TRXRNfaTCaRtzKlh+XKOgqA8WZblWpC8AqUq6l1kpBbU8 qc9/n4ZPCwvju98KyNxQiMFu/o30PaBVT+66JDGho9s3+7m54CZ2dQ1aUx+/ginzciOI x32w== 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=LOCLhxjzGT7WvTJ7KJtjfQrNcETlh804e30Mz9BMbJ0=; b=q1C8sRTldkVt1GP3ehCrPc8evXFGzS1VamJ+F3lniIgyuX5sf7FDFPFoD2pZD2SthM f++2OnDeliTFDixvEz1dMJ9cn9dJec+69csT7hkrrwgVHrwGdTyzEGDle5bvQVmHYxQ+ +DAnO0J4SQvLdk/PN9lsE0r5zr/4PJnituBj3HU4gowxZW/rjOrPRIs3hI0DtVzOO1gp ow3d7u3UxqVDy5lQtbTaf97+/HQQpxSF+GDHlGFtkzB+2xiQ4h9DJJqmxDF4c53TGuR4 xeKpz4bA2/FG7PTechdO/wvCibT17vCA4FIit+fH0yWOFHFFU4WPwvFo4jNIen65Y5Aw ze+w== X-Gm-Message-State: AGi0PuamjrdgeVqtueHE/M6X68+PZHJxREznBl8HCuuvp4DDz9j2J0Od xoamCSFRIg3sWueR+KirLmQ= X-Received: by 2002:a62:15c5:: with SMTP id 188mr4592641pfv.66.1588351025385; Fri, 01 May 2020 09:37:05 -0700 (PDT) Received: from udknight.localhost ([59.57.158.27]) by smtp.gmail.com with ESMTPSA id c2sm2683258pfp.118.2020.05.01.09.37.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 May 2020 09:37:04 -0700 (PDT) Received: from udknight.localhost (localhost [127.0.0.1]) by udknight.localhost (8.14.9/8.14.4) with ESMTP id 041GYn38026961; Sat, 2 May 2020 00:34:49 +0800 Received: (from root@localhost) by udknight.localhost (8.14.9/8.14.9/Submit) id 041GYe1E026958; Sat, 2 May 2020 00:34:40 +0800 Date: Sat, 2 May 2020 00:34:40 +0800 From: Wang YanQing To: Joe Perches Cc: Andy Whitcroft , linux-kernel@vger.kernel.org, Alexei Starovoitov , Matteo Croce , Markus.Elfring@web.de, kernel-janitors@vger.kernel.org Subject: Re: [PATCH v3] checkpatch: add support to check 'Fixes:' tag format Message-ID: <20200501163440.GA19874@udknight> Mail-Followup-To: Wang YanQing , Joe Perches , Andy Whitcroft , linux-kernel@vger.kernel.org, Alexei Starovoitov , Matteo Croce , Markus.Elfring@web.de, kernel-janitors@vger.kernel.org References: <20200501154033.GA25730@udknight> <3aeb6ab5059ec753d922051d7732e13322188e7c.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3aeb6ab5059ec753d922051d7732e13322188e7c.camel@perches.com> 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 Fri, May 01, 2020 at 08:57:42AM -0700, Joe Perches wrote: > On Fri, 2020-05-01 at 23:40 +0800, Wang YanQing wrote: > > According to submitting-patches.rst, 'Fixes:' tag has a little > > stricter condition about the one line summary than normal git > > commit description: > > “... > > Do not split the tag across multiple lines, tags are exempt from > > the "wrap at 75 columns" rule in order to simplify parsing scripts > > ...” > > > > 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. > > > > The check supports below formats: > > Fixes: 54a4f0239f2e ("KVM: MMU: make kvm_mmu_zap_page() return the number of pages it actually freed") > > Fixes: 85f7cd3a2aad ("Revert "media: Kconfig: better support hybrid TV devices"") > > Fixes: 878520ac45f9 ("ext4: save the error code which triggered...") > > Fixes: 878520ac45f9 ("ext4: save the error code which triggered") > > Fixes: 277f27e2f277 ("SUNRPC/cache: Allow garbage collection ... ") > > Hi again YanQing. > > I think all the non-standard and incomplete forms > should have a warning emitted. Hi Joe Perches I am not sure whether I get your words, you mean we need to emit warning for incomplete title line format? For example: Fixes: 277f27e2f277 ("SUNRPC/cache: Allow garbage collection ... ") Thanks. > > > The check doesn't support below formats: > > Fixes: f2c2e717642c ("usb: gadget: add raw-gadget interface" > > Fixes: 6c73698904aa pinctrl: qcom: Introduce readl/writel accessors > > Fixes: 3fd6e7d9a146 (ASoC: tas571x: New driver for TI TAS571x power amplifiers) > > Fixes: 55697cbb44e4 ("arm64: dts: renesas: r8a779{65,80,90}: Add IPMMU devices nodes) > > Fixes: ba35f8588f47 (“ipvlan: Defer multicast / broadcast processing to a work-queue”) > > Fixes: cd758a9b57ee "KVM: PPC: Book3S HV: Use __gfn_to_pfn_memslot in HPT page fault handler" > > Fixes: 9b1640686470 ("scsi: lpfc: Fix use-after-free mailbox cmd completion") > > Fixes: 03f6fc6de919 ('ASoC: rt5682: Add the soundwire support') > > > > Note: this patch also fixes double quotation mark issue for normal git > > commit description, and now it supports double quotation mark in > > title line, for example: > > Commit e33e2241e272 ("Revert "cfg80211: Use 5MHz bandwidth by default > > when checking usable channels"") > > Nice. >