Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6590584ybv; Wed, 12 Feb 2020 15:33:29 -0800 (PST) X-Google-Smtp-Source: APXvYqyqIT5aGjkCcUIiGWxLX3uJxo9Q5zkdIPYU7HwdxG6jBu8fgel0c7QbIFTRRx7x91JlVeoR X-Received: by 2002:aca:4c9:: with SMTP id 192mr1128480oie.105.1581550409689; Wed, 12 Feb 2020 15:33:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581550409; cv=none; d=google.com; s=arc-20160816; b=ZK/BZFi6W9pDuHXY/RLYNQ9K++v/BSiD6xolpOxZ1Lu+ANbR1F5gwANb9CkwCU/jgL KL+sWSwjigJ4CCewrSBpGzhh6Vj0ECz32NZ7b4wzJh+3qUShwhDpTjh+/qAHrWmU2ph5 gPWWc2n2k7x46v3ld16q9VQr5sDw7O2ZwHB2vtsP4c7YBTFpfIStrm+7xmMOm2lRc+ie XFqqVqF+RY8OVZPDK4iKDoQzgt1L8MXj8CSEL9rjQrVjwpuN8Ij59R7IyB6BZEsCTZCV /CAcGKxt+Zw5UvmYE+0lFJ/PvQIuiKXEm+QEKL8obM2nwNTTOvFqfuZ6m8q+grm1u+Jd fxyw== 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=H6KGmzsUSuIzRA/EXfGNLRaFmbExROqmQptBt0bV0SM=; b=Vzc/UJGz5fK4GMRQS7WfnKUHBeXkhJNUiuCkxed2TlirTnKr1l+QS94I9qblt7Q2g8 mYLBHop2jNN45v+olI1I3ql13AqVrpBE/qbv4M6Pni0Wun0nec0QFOpcTpUwbvdRgP1G 0ww0EWjjhCBdSqHxb1/xXdhaQqursiLeKdZtOuySd+HOzzbJHJ6PfzNgwp4WluDOTGbD mKpG/02kKD0c1qALlb5nelJYls5KOb6K6kTZTf9sWsBPQ1eBlF4jtoqMTCT8kgsU8bwQ Wa0rU/vBDhDs9+pwgp3t4VfSQZf0r4dMRodZeoQ/7lom+aEKbEn4yGVk8TH0PuC45JQI gdew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=GrGEJdKh; 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 d8si156962oti.306.2020.02.12.15.33.13; Wed, 12 Feb 2020 15:33:29 -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=GrGEJdKh; 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 S1729370AbgBLXcZ (ORCPT + 99 others); Wed, 12 Feb 2020 18:32:25 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:5405 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729356AbgBLXcY (ORCPT ); Wed, 12 Feb 2020 18:32:24 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 12 Feb 2020 15:31:18 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 12 Feb 2020 15:32:23 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 12 Feb 2020 15:32:23 -0800 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 12 Feb 2020 23:32:22 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 12 Feb 2020 23:32:22 +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 15:32:22 -0800 From: John Hubbard To: Joe Perches CC: Andy Whitcroft , Jonathan Corbet , Konstantin Ryabitsev , LKML , John Hubbard Subject: [PATCH 0/1] checkpatch: support "base-commit:" format Date: Wed, 12 Feb 2020 15:32:20 -0800 Message-ID: <20200212233221.47662-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=1581550278; bh=H6KGmzsUSuIzRA/EXfGNLRaFmbExROqmQptBt0bV0SM=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:X-NVConfidentiality:Content-Transfer-Encoding: Content-Type; b=GrGEJdKhcMsZibc4hZnkG4pRzYeQW0dxyHrjicrPLTgKMocnp1pGf50WtGubOnRQ6 A9e8Rgt4uRrF/OGA4xFzJ5fxduOkFKUISNlrpqQvFi7unzqRsfKcuSJotO9XDlFl6T Y22uit8hIyDATuU9Yeao7OZ7uvfpOyX3Ub7PFZmh5Mmy48KElT7KPXRGNHTfvA74XD oDyVK9+bIie8qAqWFhL+5ryeKayK10YXwfON8rU5BHLezDQUpbeq7TGozE5zO4N3OU Ji2gLrPCUFUOSIZdsYo6U5d6ABc8QYEbSjtspBre2UaVmLCEVUCnWsBH2/uZ7KkDdX Q4/rqvTzoIf4Q== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 1 + 1 file changed, 1 insertion(+) base-commit: 0bf999f9c5e74c7ecf9dafb527146601e5c848b9 --=20 2.25.0