Skip to contentSkip to conversation

doc: Convert rculist_nulls.txt to rculist_nulls.rst

PATCH In review Aman Sharma 2 participants 3 messages Feb 27, 2020 – Feb 29, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 doc: Convert rculist_nulls.txt to rculist_nulls.rst

This patch converts rculist_nulls from .txt to .rst format, and also adds it to the index.rst file.

Major changes includes:
1) Addition of section headers and subsection headers.
2) Addition of literal blocks which contains all the codes.
3) Making enumerated list item by changing X) to X. where X is number like 1,2,3 etc.

---
 Documentation/RCU/index.rst         |   1 +
 Documentation/RCU/rculist_nulls.rst | 179 ++++++++++++++++++++++++++++
 Documentation/RCU/rculist_nulls.txt | 172 --------------------------
 3 files changed, 180 insertions(+), 172 deletions(-)
 create mode 100644 Documentation/RCU/rculist_nulls.rst
 delete mode 100644 Documentation/RCU/rculist_nulls.txt
Documentation/RCU/index.rst +1 -0
index d60eb4ba2cd0..2cf55bd141b3 100644
@@ -10,6 +10,7 @@ RCU concepts
    arrayRCU
    rcubarrier
    rcu_dereference
+   rculist_nulls
    checklist
    whatisRCU
    rcu
Documentation/RCU/rculist_nulls.rst new file +179 -0

179 lines not on this page · raw message

Documentation/RCU/rculist_nulls.txt deleted +0 -172

172 lines not on this page · raw message

Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 9 lines · On Thu, 27 Feb 2020 23:36:53 +0530 Aman Sharma <[email protected]> wrote:

This patch converts rculist_nulls from .txt to .rst format, and also adds it to the index.rst file.

Major changes includes:
1) Addition of section headers and subsection headers.
2) Addition of literal blocks which contains all the codes.
3) Making enumerated list item by changing X) to X. where X is number like 1,2,3 etc.

Quoted 8 lines
---
 Documentation/RCU/index.rst         |   1 +
 Documentation/RCU/rculist_nulls.rst | 179 ++++++++++++++++++++++++++++
 Documentation/RCU/rculist_nulls.txt | 172 --------------------------
 3 files changed, 180 insertions(+), 172 deletions(-)
 create mode 100644 Documentation/RCU/rculist_nulls.rst
 delete mode 100644 Documentation/RCU/rculist_nulls.txt

When you put out multiple versions of a patch, it's always good to say what has changed; you can put that information right after the "---" line above. That's even more true if you send two versions within minutes of each other; recipients will want to know what is going on.

Thanks,

jon

author
#2 lore raw
Quoted 20 lines · Jonathan Corbet
Quoted 9 lines · On Thu, 27 Feb 2020 23:36:53 +0530 Aman Sharma <[email protected]> wrote:

This patch converts rculist_nulls from .txt to .rst format, and also adds it to the index.rst file.

Major changes includes:
1) Addition of section headers and subsection headers.
2) Addition of literal blocks which contains all the codes.
3) Making enumerated list item by changing X) to X. where X is number

    like 1,2,3 etc.
Quoted 8 lines
---
  Documentation/RCU/index.rst         |   1 +
  Documentation/RCU/rculist_nulls.rst | 179 ++++++++++++++++++++++++++++
  Documentation/RCU/rculist_nulls.txt | 172 --------------------------
  3 files changed, 180 insertions(+), 172 deletions(-)

create mode 100644 Documentation/RCU/rculist_nulls.rst delete mode 100644 Documentation/RCU/rculist_nulls.txt

Quoted 8 lines

When you put out multiple versions of a patch, it's always good to say what has changed; you can put that information right after the "---" line above. That's even more true if you send two versions within minutes of each other; recipients will want to know what is going on.

Thanks,

jon

Alright, I will make sure to always mention the changes between the subsequent version of patches.

Here, the reason for a v3 patch is to fix the typing error in the commit message, there was a duplicate line in commit message of patch v2.