Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp125870img; Thu, 21 Mar 2019 15:48:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMkvr3cYg9HIZMJQAyxVPl78HyxyLP89UXbOtxp9U7Rjb0Q7B07qlKlHCQssr6EqX0NpgQ X-Received: by 2002:a62:b40b:: with SMTP id h11mr5824229pfn.108.1553208503810; Thu, 21 Mar 2019 15:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553208503; cv=none; d=google.com; s=arc-20160816; b=E0/eiRwwvvlnWpwSyGjiYzX0/1Esc3UTmE32eMPNVMQh6T8wvnPOiLt+gwuarFXAEK gy5VuAGySAtIpZFRlYFdDIR0aZuPvezxRwyXrL7oBE4FrjuhsH7J/okDKZFOY/UtOkTa s3IylJRBp19VuOLkXA21qXrGjERnvCfva6gpPYAFekjj/vWV5vFIkx9Z2IIjWByfYiT8 uHVO8iJEaW1lyS5HGgdCMcVm2e/AF3KN58mqyBhN53BP9Rl5yBxHvKILF16dE8KRtoay X23OPG+XLHINaKvSgFrpvdQ3Kt+HyU48MvJK0y7I0LUHYN8NJ0/KIJivz2IWXs30HVNi U26Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=5g3YjA+9L+sOrpj2NAqoFQfdQK55EI1DbEAXoOfs8qU=; b=se7sKqasFM3OUL+VYI5Q0i9Gf89ZFYGch6BNK4lT1eB9h3T4HBpiL0MM0D7/XflePn KYQIxF1rluPUPiCDnPBvpN9uYbMBwKbn7AO8pnT8+QIIm4bmRNH48BNhu6V0Lw9hVi/7 F/2AWipUQgp4g7dM6bwBXYoGJg6EvgpHETdJE3ozmoFLE1vaDuxHNxItidwum9MnMdsJ /AT9mXDr1JJX5qXKzX3u4ez3W2JfW7W+ch45lQRJBPlYYobOEPlULA3zIdNhvbl5xD5b 7HjSSjjUeiv4eo9e8v8zlnh9nGCzHyYVs5yRahsTSbaakRRwtNwXFOlK7Col89n96iJh 2abA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d126si5048337pgc.597.2019.03.21.15.48.08; Thu, 21 Mar 2019 15:48:23 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726891AbfCUWre (ORCPT + 99 others); Thu, 21 Mar 2019 18:47:34 -0400 Received: from smtprelay0022.hostedemail.com ([216.40.44.22]:51090 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725999AbfCUWre (ORCPT ); Thu, 21 Mar 2019 18:47:34 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 51BB818224D82; Thu, 21 Mar 2019 22:47:32 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::,RULES_HIT:41:355:379:599:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2197:2198:2199:2200:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3353:3622:3653:3865:3866:3867:3868:3871:3872:3874:4321:5007:7875:7903:10004:10400:10848:11026:11232:11473:11658:11914:12043:12109:12219:12555:12740:12760:12895:13069:13255:13311:13357:13439:14181:14659:14721:14777:21080:21221:21433:21451:21627:21819:30022:30029:30045:30054:30070:30074:30090:30091,0,RBL:error,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:error,Custom_rules:0:0:0,LFtime:2000,LUA_SUMMARY:none X-HE-Tag: alarm81_414a022265a5b X-Filterd-Recvd-Size: 2733 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf01.hostedemail.com (Postfix) with ESMTPA; Thu, 21 Mar 2019 22:47:28 +0000 (UTC) Message-ID: <0cc879a63943b57b62caddce6866b83a14b42c14.camel@perches.com> Subject: Re: [PATCH v2] docs: Clarify the usage and sign-off requirements for Co-developed-by From: Joe Perches To: Sean Christopherson , Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Jani Nikula , Jorge Ramirez-Ortiz , Jonathan Cameron , Greg Kroah-Hartman , Niklas Cassel Date: Thu, 21 Mar 2019 15:47:26 -0700 In-Reply-To: <20190321192341.GG6519@linux.intel.com> References: <20190321184316.8525-1-sean.j.christopherson@intel.com> <20190321192341.GG6519@linux.intel.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-03-21 at 12:23 -0700, Sean Christopherson wrote: > On Thu, Mar 21, 2019 at 11:43:16AM -0700, Sean Christopherson wrote: > > The documentation for Co-developed-by is a bit light on details, e.g. it > > doesn't explicitly state that: > > > > - Multiple Co-developed-by tags are perfectly acceptable > > - Co-developed-by and Signed-off-by must be paired together > > - SOB ordering should still follow standard sign-off procedure While I still think co-developed-by: is unnecessary and almost none of the existing uses of this have this sequence of "Co-developed-by: " followed directly by "Signed-off-by: ", here's a possible checkpatch addition for it. --- scripts/checkpatch.pl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index d0001fd1112d..e938fd56cc20 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2687,6 +2687,15 @@ sub process { } else { $signatures{$sig_nospace} = 1; } + +# Check Co-developed-by: suceeded by Signed-off-by: with same name and email + if ($sign_off =~ /^signed-off-by:$/i && + $linenr > 1 && + $rawlines[$linenr - 2] =~ /^\s*co-developed-by:\s*(.*)/i && + $1 ne $email) { + WARN("BAD_SIGN_OFF", + "Co-developed-by: should be suceeded by Signed-off-by: with same name/email\n" . "$here\n" . $rawlines[$linenr - 2] . "\n" . $rawline); + } } # Check email subject for common tools that don't need to be mentioned