docs: submitting-patches: Fix section structure around DCO
Subsystems (2)
PATCH 1/1 docs: submitting-patches: Fix section structure around DCO
Commit 5903019b2a5e ("Documentation/SubmittingPatches: convert it to ReST markup") made "DCO 1.1" a subsection under the section "Sign your work - ...". However, the DCO text is meant to be referenced in the section.
Furthermore, in HTML and PDF docs, paragraphs following the DCO:
then you just add a line saying:
[...]
as it was propagated to the maintainers and ultimately to Linus, with the first SoB entry signalling primary authorship of a single author.
appear to belong to the DCO, rather than to "Sign your work - ..." where it should.
In reST (and other documentation tools), once you start a subsection under a section, there is no way to go back to the section.
Fix the section structure by making the DCO a literal block, with indent changes made in commit 5903019b2a5e reverted.
While at it, fix the same issue at "Reviewer's statement of oversight".
--- Documentation/process/submitting-patches.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
Documentation/process/submitting-patches.rst +6 -8
@@ -404,12 +404,11 @@ patches that are being emailed around. The sign-off is a simple line at the end of the explanation for the patch, which certifies that you wrote it or otherwise have the right to pass it on as an open-source patch. The rules are pretty simple: if you -can certify the below: +can certify the below:: -Developer's Certificate of Origin 1.1 -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + Developer's Certificate of Origin 1.1 -By making a contribution to this project, I certify that: + By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license
@@ -554,12 +553,11 @@ some testing has been performed, provides a means to locate testers for future patches, and ensures credit for the testers. Reviewed-by:, instead, indicates that the patch has been reviewed and found -acceptable according to the Reviewer's Statement: +acceptable according to the Reviewer's Statement:: -Reviewer's statement of oversight -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + Reviewer's statement of oversight -By offering my Reviewed-by: tag, I state that: + By offering my Reviewed-by: tag, I state that: (a) I have carried out a technical review of this patch to evaluate its appropriateness and readiness for inclusion into
base-commit: 2933b82083e758fe6cfff570143541d4dba672c3
Signature · 1 line
2.43.0
Hi,
Quoted 15 lines · Akira Yokosawa
Commit
5903019b2a5e("Documentation/SubmittingPatches: convert it to ReST markup") made "DCO 1.1" a subsection under the section "Sign your work - ...". However, the DCO text is meant to be referenced in the section.Furthermore, in HTML and PDF docs, paragraphs following the DCO:
then you just add a line saying:
Signed-off-by [...][...]
as it was propagated to the maintainers and ultimately to Linus, with the first SoB entry signalling primary authorship of a single author.
Quoted 8 lines
appear to belong to the DCO, rather than to "Sign your work - ..." where it should.
In reST (and other documentation tools), once you start a subsection under a section, there is no way to go back to the section.
Fix the section structure by making the DCO a literal block, with indent changes made in commit
5903019b2a5ereverted.
I don't see much difference in the before and after HTML other than the use of literal blocks, which do make it a small bit clearer where the DCO/Reviewer's blocks are.
Thanks.
Quoted 7 lines
While at it, fix the same issue at "Reviewer's statement of oversight".
Signed-off-by Akira Yokosawa <[email protected]>--- Documentation/process/submitting-patches.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
Signature · 1 line
~Randy
Maybe it would be better to send this as a follow-up patch after the original patch is merged, to avoid unnecessary churn.
Thanks,
Akiyoshi Kurita
2026-07-09 06:04 に Randy Dunlap さんは書きました:
Quoted 45 lines
Hi,
Quoted 17 lines · Akira Yokosawa
Commit
5903019b2a5e("Documentation/SubmittingPatches: convert it to ReST markup") made "DCO 1.1" a subsection under the section "Sign your work - ...". However, the DCO text is meant to be referenced in the section.Furthermore, in HTML and PDF docs, paragraphs following the DCO:
then you just add a line saying:
Signed-off-by [...][...]
as it was propagated to the maintainers and ultimately to Linus,
with
the first SoB entry signalling primary authorship of a single
author.Quoted 8 lines
appear to belong to the DCO, rather than to "Sign your work - ..." where it should.
In reST (and other documentation tools), once you start a subsection under a section, there is no way to go back to the section.
Fix the section structure by making the DCO a literal block, with indent changes made in commit
5903019b2a5ereverted.I don't see much difference in the before and after HTML other than the use of literal blocks, which do make it a small bit clearer where the DCO/Reviewer's blocks are.
Tested-by Randy Dunlap <[email protected]>Acked-by Randy Dunlap <[email protected]>Thanks.
Quoted 7 lines
While at it, fix the same issue at "Reviewer's statement of oversight".
Signed-off-by Akira Yokosawa <[email protected]>--- Documentation/process/submitting-patches.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
Hi,
Quoted 2 lines · On Thu, 09 Jul 2026 19:34:15 +0900, [email protected] wrote:
Maybe it would be better to send this as a follow-up patch after the original patch is merged, to avoid unnecessary churn.
What do you mean by "the original patch"?
Confused ...
Thanks, Akira
Quoted 3 lines
Thanks,
Akiyoshi Kurita
[...]
Sorry, my wording was unclear.
I misunderstood the context and thought there was still another patch to be merged first. Looking again, your patch is already a follow-up fix for the issue introduced by commit 5903019b2a5e.
Please ignore my previous comment.
Thanks,
Akiyoshi Kurita
2026-07-09 23:44 に Akira Yokosawa さんは書きました:
Quoted 16 lines
Hi,
Quoted 2 lines · On Thu, 09 Jul 2026 19:34:15 +0900, [email protected] wrote:
Maybe it would be better to send this as a follow-up patch after the original patch is merged, to avoid unnecessary churn.
What do you mean by "the original patch"?
Confused ...
Thanks, Akira
Quoted 3 lines
Thanks,
Akiyoshi Kurita[...]
Quoted 24 lines · Akira Yokosawa
Commit
5903019b2a5e("Documentation/SubmittingPatches: convert it to ReST markup") made "DCO 1.1" a subsection under the section "Sign your work - ...". However, the DCO text is meant to be referenced in the section.Furthermore, in HTML and PDF docs, paragraphs following the DCO:
then you just add a line saying:
Signed-off-by [...][...]
as it was propagated to the maintainers and ultimately to Linus, with the first SoB entry signalling primary authorship of a single author.appear to belong to the DCO, rather than to "Sign your work - ..." where it should.
In reST (and other documentation tools), once you start a subsection under a section, there is no way to go back to the section.
Fix the section structure by making the DCO a literal block, with indent changes made in commit
5903019b2a5ereverted.
Quoted 7 lines
While at it, fix the same issue at "Reviewer's statement of oversight".
Signed-off-by Akira Yokosawa <[email protected]>--- Documentation/process/submitting-patches.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
Applied, thanks.
jon