Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp174326pxu; Tue, 24 Nov 2020 23:20:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkgAbJPUlSsdBtClLDRJsEgIo4d2mgqh4feSPKHkhyOhln7tcORin1LRQMH3m63oGBrIlY X-Received: by 2002:aa7:ca41:: with SMTP id j1mr2226773edt.295.1606288838405; Tue, 24 Nov 2020 23:20:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606288838; cv=none; d=google.com; s=arc-20160816; b=HL1t4/PyGmY6TS5D1m1Xi3ZPYPvfE9kwwGO0n4KAxsYEyt2H4UrEOoJNxBNbaGrPqe RHEJWlFnK01utxsZLsIAiq6RLm3yNyj/30yq+s2m0PhOS1Dot/71o+SWV5IbV20+AlCq LNvJetCAHYXf9vz8ihyXHDGYSl8oCPN+HSQQnI/Bwj2JK75In6jrS4swVbbAQ/MwX7yt AhwoaIme8VGRaTcIprgy7NnYDB8OpuRdPN0WRZVJN6ObCe+Droi2DTH1pizbhwG6+heb gho0hUHSlpe8klA8L+NqZkJJwbmZB6ZF2MjIOTDSLIW0rTKKZxvSmHeW6pFIaY2Vtb1/ DFLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VrVCXs8ZEcio33RMbgguCLoCTwBqkuJKl9sBwZSkJWk=; b=tx2RDI0JIbI4R2Fs3ypv3YkcGeg5IvMs9E7MtXZ7KZmxK0LEF9Vb0dsaPdrISSogic 7WgdQ4ki/lBhhvrjOCBTNziDZEGnsEvT/ckgMWMTYB+3Yc4LBKJZPXEuXxQq4CkSo1A7 yWm62LYJ/Yynl/3cPhQ9ZRTiGil/Ht07ko9k4AxH/dfWggleeJpNC3RkPxkNZ5gCXo+p iTPVhhpSaCo9VW55CTgvoLp6x82Yw45HrjW1Al/s5mKtI0rUt1IQ6vD8xqUmv8Z5mk1J /LdfB3r8jdzHB5SIb9TzTE79Z0K51gwOBK0ocrO/4bX1vGFvXuDN8RjCKEvIHwS4ZcDU GVRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WofC9uB4; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id wr19si775351ejb.218.2020.11.24.23.20.14; Tue, 24 Nov 2020 23:20:38 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=WofC9uB4; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727726AbgKYHQy (ORCPT + 99 others); Wed, 25 Nov 2020 02:16:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:47450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgKYHQy (ORCPT ); Wed, 25 Nov 2020 02:16:54 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 61925208B8; Wed, 25 Nov 2020 07:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606288606; bh=gUkyGSpZPzozZHqhwoqFTigIg2G04BKThv9/K6m/Mhw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WofC9uB4axUAU+F4T3jQi1jeNLbCInez1DEgfDag10sFVJl5/HEtUwZZQInKZbobo eAoOmQyS5UPL+Mz2kwXqMKuOth+Km5W481wazbrcMChouMXxww/lhO5kgSPEGLxa6U zGFvfebJ34BivXSwv1sMuXVr7+84G3U/6IIHBqYE= Date: Wed, 25 Nov 2020 08:17:52 +0100 From: Greg KH To: Joe Perches Cc: Tiezhu Yang , Andrew Morton , Andy Whitcroft , Sasha Levin , linux-kernel@vger.kernel.org, Xuefeng Li Subject: Re: [PATCH RESEND] checkpatch: Do not check git commit description style when backport the upstream commit Message-ID: References: <1606275347-19297-1-git-send-email-yangtiezhu@loongson.cn> <995e0acb-c219-ea00-f078-7582516e25de@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 24, 2020 at 08:24:15PM -0800, Joe Perches wrote: > 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? My scripts put this into a patch when applying it to the stable tree, and so do Sasha's. I don't know why checkpatch would care about this as that's not used for this workflow at all. > Is this something you want/use? I wouldn't use it, and I doubt anyone else would. thanks, greg k-h