Skip to contentSkip to conversation

tools: docs: memory-model: fix references for some files

PATCH New Mauro Carvalho Chehab 1 participant 1 message Aug 26, 2020

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

PATCH 1/1 tools: docs: memory-model: fix references for some files

- The sysfs.txt file was converted to ReST and renamed;
- The control-dependencies.txt is not at Documentation/control-dependencies.txt. As it is at the same dir as the README file, which mentions it, just remove Documentation/.

With that, ./scripts/documentation-file-ref-check script is now happy again for files under tools/.

---
 tools/memory-model/Documentation/README       | 2 +-
 tools/memory-model/Documentation/ordering.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/memory-model/Documentation/README +1 -1
index 16177aaa9752..004969992bac 100644
@@ -55,7 +55,7 @@ README
 Documentation/cheatsheet.txt
 	Quick-reference guide to the Linux-kernel memory model.
 
-Documentation/control-dependencies.txt
+control-dependencies.txt
 	A guide to preventing compiler optimizations from destroying
 	your control dependencies.
 
tools/memory-model/Documentation/ordering.txt +1 -1
index 4b2cc551103a..5a87d7384758 100644
@@ -347,7 +347,7 @@ o	Accessing RCU-protected pointers via rcu_dereference()
 
 	If there is any significant processing of the pointer value
 	between the rcu_dereference() that returned it and a later
-	dereference(), please read Documentation/RCU/rcu_dereference.txt.
+	dereference(), please read Documentation/RCU/rcu_dereference.rst.
 
 It can also be quite helpful to review uses in the Linux kernel.
 
Signature · 1 line
2.26.2