Skip to contentSkip to conversation

docs: fix typo in list.rst

PATCH Superseded Sakurai Shun 2 participants 2 messages May 17 – May 25 Documentation

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: fix typo in list.rst

Replace "reinitalizes" with "reinitializes"

---
 Documentation/core-api/list.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/list.rst +1 -1
index 241464ca0..4819343a2 100644
@@ -752,7 +752,7 @@ This is because list_splice() did not reinitialize the list_head it took
 entries from, leaving its pointer pointing into what is now a different list.
 
 If we want to avoid this situation, list_splice_init() can be used. It does the
-same thing as list_splice(), except reinitalizes the donor list_head after the
+same thing as list_splice(), except reinitializes the donor list_head after the
 transplant.
 
 Concurrency considerations
Signature · 1 line
2.54.0
maintainer
#1 lore raw
Quoted 12 lines · Sakurai Shun

Replace "reinitalizes" with "reinitializes"

---
 Documentation/core-api/list.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/list.rst +0 -0
index 241464ca0..4819343a2 100644

Documentation/core-api/list.rst This is because list_splice() did not reinitialize the list_head it took · line 756

Quoted 6 lines
Documentation/core-api/list.rst +1 -1
@@ -752,7 +752,7 @@ This is because list_splice() did not reinitialize the list_head it took
 entries from, leaving its pointer pointing into what is now a different list.
 
 If we want to avoid this situation, list_splice_init() can be used. It does the
-same thing as list_splice(), except reinitalizes the donor list_head after the
+same thing as list_splice(), except reinitializes the donor list_head after the
 transplant.

This one was fixed a month ago; please work against docs-next (or linux-next) when generating patches.

Thanks,

jon