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=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 9C9C8C71156 for ; Wed, 2 Dec 2020 18:57:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4992C2224D for ; Wed, 2 Dec 2020 18:57:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389727AbgLBS5h (ORCPT ); Wed, 2 Dec 2020 13:57:37 -0500 Received: from smtprelay0094.hostedemail.com ([216.40.44.94]:41446 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387784AbgLBS5h (ORCPT ); Wed, 2 Dec 2020 13:57:37 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 80698837F27B; Wed, 2 Dec 2020 18:56:56 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: tiger43_1400336273b5 X-Filterd-Recvd-Size: 2333 Received: from XPS-9350.home (unknown [47.151.128.180]) (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA; Wed, 2 Dec 2020 18:56:55 +0000 (UTC) Message-ID: <5afbcd1423ee8fc2dfad191d94aef6efc17198c8.camel@perches.com> Subject: Re: [PATCH -mmots] checkpatch: add fix for non-standard signature - co-authored-by From: Joe Perches To: Aditya Srivastava Cc: lukas.bulwahn@gmail.com, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Date: Wed, 02 Dec 2020 10:56:54 -0800 In-Reply-To: <20201202183045.9309-1-yashsri421@gmail.com> References: <280235acc0e91365f3fd3b5be5a5244eced1ff61.camel@perches.com> <20201202183045.9309-1-yashsri421@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-12-03 at 00:00 +0530, Aditya Srivastava wrote: > Currently, checkpatch.pl warns us for BAD_SIGN_OFF on the usage of > non-standard signatures. > > An evaluation on v4.13..v5.8 showed that out of 539 warnings due to > non-standard signatures, 43 are due to the use of 'Co-authored-by' > tag, which may seem correct, but is not standard. > > The standard signature equivalent for 'Co-authored-by' is > 'Co-developed-by'. I'm not going to ack this as I don't mind non-standard signatures. You should also always use patch subject versioning and include a changelog after the --- line. > Provide a fix by suggesting users with this signature alternative and > replacing. > > Signed-off-by: Aditya Srivastava > --- >  scripts/checkpatch.pl | 3 +++ >  1 file changed, 3 insertions(+) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index 4a026926139f..fc036d545d2d 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -2832,6 +2832,9 @@ sub process { >   > >   if ($sign_off !~ /$signature_tags/) { >   my $suggested_signature = find_standard_signature($sign_off); > + if ($sign_off =~ /co-authored-by:/i) { > + $suggested_signature = "Co-developed-by:"; > + } >   if ($suggested_signature eq "") { >   WARN("BAD_SIGN_OFF", >   "Non-standard signature: $sign_off\n" . $herecurr);