Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp174811ybv; Wed, 12 Feb 2020 21:50:40 -0800 (PST) X-Google-Smtp-Source: APXvYqycXvhcLQoBwmjiouGTLXvr0Z45tyE77y68lGm0PYOayx7rJeauDp8V/VmpMtFVM8oZU8hH X-Received: by 2002:a9d:f45:: with SMTP id 63mr12595656ott.0.1581573039994; Wed, 12 Feb 2020 21:50:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581573039; cv=none; d=google.com; s=arc-20160816; b=sOyXrykK9NMEdK+QimJzMMGK99uAUknQfkQakCigGXH0EufppMWeQhzvHM+s3J4cUT AamYqo58POpsQT51FEZleKSnUkJc0Iy1qerUY+jgAoyFJVefnlPDkwhQNA8PK28JR+4A ypZyYF0ThFyALhL/q4J7flBs9z/FLoQmYtVUjYWCDTb9tbH9XfC7hxjmLQ2NM5KAPHHY Dgb/h9xUo7KbUACfyWPybFs28Cl+q6ESA7KeTcJ2DIr2MGTQaZ23asVzTkvCFuMiUVXn d4Ga1MxI/CLatIxuFD6qIVDYmCWW2ZsWli2FjaX42Dy3iRnbe9P89wbXuBSCGnL10bcz 0qaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=c5c6vj7oCLEPt01HPQEWuFd1BSxiH31flBTm7eIsdFM=; b=c3i0Qnsxb1h2tSMxPa1kXi1qzB1/EdumhEAWume63FgQRH9wrncmqKnncrQTaoiAVY STtwOrc1GcxwuFaSSe30EfqChF4trUz/abcqKCgGjn2JvhXe5AT9xs8iy7CwDuwHpeJP WDs6Z9MT4BUnPRMOfCp5k6iZ69lGXka/mb58kOFchB75+qv7tdD9B+nHLTeZw0uRFgQx TqfQDUSTwg1xFCt1qhMcSeiVRDcX5+4k2+hFSjzwqYrZlBnVFsSHSHl08BXefsnW+hWO iQDb7kANyKuzFZtdSO7AuGACWFhVnapBHW4Tl9f9u60hcGMcPwBOZRPpyFKaeDoKeLn7 KAKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=funinmbr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si620612oiv.267.2020.02.12.21.50.27; Wed, 12 Feb 2020 21:50:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=funinmbr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729708AbgBMFuM (ORCPT + 99 others); Thu, 13 Feb 2020 00:50:12 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:11148 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726654AbgBMFuL (ORCPT ); Thu, 13 Feb 2020 00:50:11 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 12 Feb 2020 21:49:56 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 12 Feb 2020 21:50:10 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 12 Feb 2020 21:50:10 -0800 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 13 Feb 2020 05:50:10 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 13 Feb 2020 05:50:10 +0000 Received: from blueforge.nvidia.com (Not Verified[10.110.48.28]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 12 Feb 2020 21:50:10 -0800 From: John Hubbard To: Joe Perches CC: Andy Whitcroft , Jonathan Corbet , Konstantin Ryabitsev , LKML , John Hubbard Subject: [PATCH v2 0/1] checkpatch: support "base-commit:" format Date: Wed, 12 Feb 2020 21:50:03 -0800 Message-ID: <20200213055004.69235-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1581572997; bh=c5c6vj7oCLEPt01HPQEWuFd1BSxiH31flBTm7eIsdFM=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:X-NVConfidentiality:Content-Transfer-Encoding: Content-Type; b=funinmbrXDHohBRuXf48d/RlzMcZZvTpVklfgdjVME7s+9J97Mk/ktRxFOu81cGyH zWZGjM74AyMfRHFkm9noXHJbGP+xDeVW98EnBDrRj/XZp/f73c6m/OqfAixw/XqYEE iEkg2VZgOE2EmCZ9MaLOWl3vU+OLWdNpVyMRruzpluvn81HyI2B4pYWoXCquw3wt0b Z8fA0DHAw9zJNV26JV/3h27y72EbG+V6hrI/rkCTIb8os5s9g0+iQGEYnjaS5lTFnr jEZvw4cKICpX8ALH3Pta2vUHg1d1Aba0Z+fIzgdkDFZTVkL2mHkmKCHU08FhFZaZBN 4sGzMpMwzfj0w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Changes since v1: * Changed to extend an existing regex line, instead of adding a new line (suggested by Joe Perches). Adjusted the commit description slightly to match. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D In order to support the get-lore-mbox.py tool described in [1], I ran: git format-patch --base=3D --cover-letter ...which generated a "base-commit: " tag at the end of the cover letter, just like you can see at the end of this cover letter. However, checkpatch.pl generated an error upon encounting "base-commit:" in the cover letter. So, I suspect that no one is actually using the --base option yet, but if [1] leads to get-lore-mbox.py and similar scripts becoming popular, then we'll want checkpatch.pl to work well with them. This tiny patch does that. An alternative approach to fixing this would be to make the --base option emit a checkpatch-friendly commit style. However, I think that's much less desirable, because base-commit is really just for tools (mainly "git am") to consume. And so we don't really want it to take up any more valuable lines in the commit letter than it already does. thanks, John Hubbard NVIDIA John Hubbard (1): checkpatch: support "base-commit:" format scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 0bf999f9c5e74c7ecf9dafb527146601e5c848b9 --=20 2.25.0