Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp805903img; Fri, 22 Mar 2019 08:58:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2AHARieQwEMV0GYT3kstDnAjeKondjTlSGcHGpFtzbpRy4xtiAsQfR5o+MfklKnvcp1Kr X-Received: by 2002:a62:5959:: with SMTP id n86mr9883385pfb.237.1553270313348; Fri, 22 Mar 2019 08:58:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553270313; cv=none; d=google.com; s=arc-20160816; b=rawiRARkytd2rMq+niJtXOWrJ75t3TNqr6501yp8yahHRNlf01wlLFXkUp2AQPy5k6 vlnA1oC2ps6+ZAJ/4J3xpG6KWcPsfEtbSXsBxiJONfubESW4mOLrlSKVfu9oogda6vwI cFqznOtDnkYUkF59FFTvJZJUGxZKCK5/119NFwT8nCjOkbkkqLoThyOTAP123TThGvHJ KcDsIYJGNq8UFO0r1/2w+a6Pyd0IMn/dfRD+Fe16zJEfBzyTZ2hb1GB1DvXZDR1XFHlB akD+XI6yT3HVTkAosXPMFJNXv/Ecl/VCq+shn6WxiEetbreIwAyqbB1TSowsqwqyj5OF KyHg== 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 :message-id:date:subject:cc:to:from; bh=L9Ce8r+rifgIHrbKI4LnlY3PI+ZFDA9nRYjWk2qLcVw=; b=si/LVMD/P8YByHiT/kV4dYrI5E90TTK3qynhh50uC7FGhSWooeDL7ZIku5X3beGbvf +DnbMoscnByiKBlMUFzKyaNiKNu9Cl4pmd3Am9UsPcT3IgE/O2zJ6nP5BMvKfya3AqVH /Mo5KhwNX6FwoUI9ASk63CPkwMCV0n3tK4KGXW1a4YFIWUfEavd2gZaZ22ni8KwFNu9i XjJClxrrrcVNPdKhVeN1NwR/lQyDKh6aojcV+ySBwvvXHELtuNfQ68k9c8+vg3uTB0aK Kg3lRShuDx8nQH9+dZzo5BCOLtU/IJPlr7b8IXXTLH1LiWlJFU+AkAemS+Ru7b88qinq 87oA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f67si6902155pgc.182.2019.03.22.08.58.18; Fri, 22 Mar 2019 08:58:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728168AbfCVP5i (ORCPT + 99 others); Fri, 22 Mar 2019 11:57:38 -0400 Received: from mga12.intel.com ([192.55.52.136]:9387 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727626AbfCVP5h (ORCPT ); Fri, 22 Mar 2019 11:57:37 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Mar 2019 08:57:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="309507405" Received: from sjchrist-coffee.jf.intel.com ([10.54.74.181]) by orsmga005.jf.intel.com with ESMTP; 22 Mar 2019 08:57:36 -0700 From: Sean Christopherson To: Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, "Tobin C . Harding" , Thomas Gleixner , Jani Nikula , Jorge Ramirez-Ortiz , Jonathan Cameron , Joe Perches , Greg Kroah-Hartman , Niklas Cassel Subject: [PATCH v4] docs: Clarify the usage and sign-off requirements for Co-developed-by Date: Fri, 22 Mar 2019 08:57:35 -0700 Message-Id: <20190322155735.13954-1-sean.j.christopherson@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Lack of explicit direction has resulted in developers taking a variety of approaches, often lacking any intent whatsoever, e.g. scattering SOBs willy-nilly, collecting them all at the end or the beginning, etc... Tweak the wording to make it clear that multiple co-authors are allowed, and document the expectation that standard sign-off procedures are to be followed. The use of "original author" has also led to confusion as many patches don't have just one "original" author, e.g. when multiple developers are involved from the genesis of the patch. Remove all usage of "original" and instead call out that Co-developed-by is simply a way to provide attribution in addition to the From tag, i.e. neither tag is intended to imply anything with regard to who did what. Provide examples to (hopefully) eliminate any ambiguity. Cc: Tobin C. Harding Cc: Thomas Gleixner Cc: Jani Nikula Cc: Jorge Ramirez-Ortiz Cc: Jonathan Cameron Cc: Joe Perches Cc: Greg Kroah-Hartman Cc: Niklas Cassel Cc: Jonathan Corbet Signed-off-by: Sean Christopherson --- v1: https://lkml.kernel.org/r/20190320151140.32432-1-sean.j.christopherson@intel.com v2: https://lkml.kernel.org/r/20190321184316.8525-1-sean.j.christopherson@intel.com Rewrite the blurb to state standard sign-off procedure should be followed as opposed to dictating the original author's SOB be last. v3: https://lkml.kernel.org/r/20190321200103.9333-1-sean.j.christopherson@intel.com Update a similar blurb in Documentation/process/5.Posting.rst v4: Rework the blurbs to avoid use of the word "original" [Tobin] Documentation/process/5.Posting.rst | 10 +++-- Documentation/process/submitting-patches.rst | 40 +++++++++++++++++--- 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/Documentation/process/5.Posting.rst b/Documentation/process/5.Posting.rst index 4213e580f273..d2da09372563 100644 --- a/Documentation/process/5.Posting.rst +++ b/Documentation/process/5.Posting.rst @@ -216,10 +216,12 @@ The tags in common use are: which can be found in :ref:`Documentation/process/submitting-patches.rst ` Code without a proper signoff cannot be merged into the mainline. - - Co-developed-by: states that the patch was also created by another developer - along with the original author. This is useful at times when multiple - people work on a single patch. Note, this person also needs to have a - Signed-off-by: line in the patch as well. + - Co-developed-by: states that the patch was co-created by several developers; + it is a used to give attribution to co-authors (in addition to the author + atrributed by the From: tag) when multiple people work on a single patch. + Every Co-developed-by: must be immediately followed by a Signed-off-by: of + the associated co-author. Details and examples can be found in + :ref:`Documentation/process/submitting-patches.rst `. - Acked-by: indicates an agreement by another developer (often a maintainer of the relevant code) that the patch is appropriate for diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst index be7d1829c3af..06db26b12495 100644 --- a/Documentation/process/submitting-patches.rst +++ b/Documentation/process/submitting-patches.rst @@ -545,10 +545,40 @@ person it names - but it should indicate that this person was copied on the patch. This tag documents that potentially interested parties have been included in the discussion. -A Co-developed-by: states that the patch was also created by another developer -along with the original author. This is useful at times when multiple people -work on a single patch. Note, this person also needs to have a Signed-off-by: -line in the patch as well. +Co-developed-by: states that the patch was co-created by multiple developers; +it is a used to give attribution to co-authors (in addition to the author +attributed by the From: tag) when several people work on a single patch. Since +Co-developed-by: denotes authorship, every Co-developed-by: must be immediately +followed by a Signed-off-by: of the associated co-author. Standard sign-off +procedure applies, i.e. the ordering of Signed-off-by: tags should reflect the +chronological history of the patch insofar as possible, regardless of whether +the author is attributed via From: or Co-developed-by:. Notably, the last +Signed-off-by: must always be that of the developer submitting the patch. + +Note, the From: tag is optional when the From: author is also the person (and +email) listed in the From: line of the email header. + +Example of a patch submitted by the From: author:: + + + + Co-developed-by: First Co-Author + Signed-off-by: First Co-Author + Co-developed-by: Second Co-Author + Signed-off-by: Second Co-Author + Signed-off-by: From Author + +Example of a patch submitted by a Co-developed-by: author:: + + From: From Author + + + + Co-developed-by: Random Co-Author + Signed-off-by: Random Co-Author + Signed-off-by: From Author + Co-developed-by: Submitting Co-Author + Signed-off-by: Submitting Co-Author 13) Using Reported-by:, Tested-by:, Reviewed-by:, Suggested-by: and Fixes: @@ -696,7 +726,7 @@ A couple of example Subjects:: The ``from`` line must be the very first line in the message body, and has the form: - From: Original Author + From: Patch Author The ``from`` line specifies who will be credited as the author of the patch in the permanent changelog. If the ``from`` line is missing, -- 2.21.0