From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B68CAC5519F for ; Wed, 25 Nov 2020 04:24:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5914520B80 for ; Wed, 25 Nov 2020 04:24:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727554AbgKYEYT (ORCPT ); Tue, 24 Nov 2020 23:24:19 -0500 Received: from smtprelay0235.hostedemail.com ([216.40.44.235]:39332 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726330AbgKYEYT (ORCPT ); Tue, 24 Nov 2020 23:24:19 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id EE9FC180A8CBE; Wed, 25 Nov 2020 04:24:17 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: death67_3d0c23b27373 X-Filterd-Recvd-Size: 2226 Received: from XPS-9350.home (unknown [47.151.128.180]) (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA; Wed, 25 Nov 2020 04:24:16 +0000 (UTC) Message-ID: Subject: Re: [PATCH RESEND] checkpatch: Do not check git commit description style when backport the upstream commit From: Joe Perches To: Tiezhu Yang , Andrew Morton , Andy Whitcroft , Greg KH , Sasha Levin Cc: linux-kernel@vger.kernel.org, Xuefeng Li Date: Tue, 24 Nov 2020 20:24:15 -0800 In-Reply-To: <995e0acb-c219-ea00-f078-7582516e25de@loongson.cn> References: <1606275347-19297-1-git-send-email-yangtiezhu@loongson.cn> <995e0acb-c219-ea00-f078-7582516e25de@loongson.cn> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-11-25 at 12:08 +0800, Tiezhu Yang wrote: > On 11/25/2020 11:51 AM, Joe Perches wrote: > > On Wed, 2020-11-25 at 11:35 +0800, Tiezhu Yang wrote: > > > When backport the upstream commit to the internal LTS kernel version, > > > we usually use the following description [1] [2]: > > > > > > [ Upstream commit cc6528bc9a0c901c83b8220a2e2617f3354d6dd9 ] > > > or > > > commit c51f8f88d705e06bd696d7510aff22b33eb8e638 upstream. > > Internal to what? > > > > If it's your own internal build system, I think you should > > keep your own local patch to checkpatch. > > > > I don't see why the kernel version should accept it. > > > > Is this style used by anyone else? > > AFAIK, this style is only used in the stable tree, for example: > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.9.y&id=c68a9ca7ca33f1020cca97e4e935c2154bec37c7 Greg?/Sasha? https://lore.kernel.org/lkml/995e0acb-c219-ea00-f078-7582516e25de@loongson.cn/T/#m2f3d87bd985bf3d4d7b63f1fa4f0490baa01119b Is this in your scripts? Is this something you want/use?