rust: sync: ordering: Fix dead link to LKMM explanation
Subsystems (3)
PATCH 1/1 rust: sync: ordering: Fix dead link to LKMM explanation
Fix the reference to the LKMM 'explanation' document, using the srctree/ prefix triggers an htmldocs warning.
Reported-by kernel test robot <[email protected]>
Signed-off-by Soham Metha <[email protected]>
---
No functional changes.
rust/kernel/sync/atomic/ordering.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/sync/atomic/ordering.rs +1 -1
@@ -20,7 +20,7 @@//! described in "DEPENDENCY RELATIONS" in [`LKMM`]'s [`explanation`]. //! //! [`LKMM`]: srctree/tools/memory-model/ -//! [`explanation`]: srctree/tools/memory-model/Documentation/explanation.txt +//! [`explanation`]: tools/memory-model/Documentation/explanation.txt /// The annotation type for relaxed memory ordering, for the description of relaxed memory /// ordering, see [module-level documentation].
Signature · 1 line
2.34.1
Alice Ryhl
maintainerQuoted 17 lines · Soham Metha
Fix the reference to the LKMM 'explanation' document, using the
srctree/prefix triggers an htmldocs warning.Reported-by kernel test robot <[email protected]>Signed-off-by Soham Metha <[email protected]>---
No functional changes.rust/kernel/sync/atomic/ordering.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)rust/kernel/sync/atomic/ordering.rs +0
-0
rust/kernel/sync/atomic/ordering.rs line 23
Quoted 5 lines
rust/kernel/sync/atomic/ordering.rs +1
-1@@ -20,7 +20,7 @@//! described in "DEPENDENCY RELATIONS" in [`LKMM`]'s [`explanation`]. //! //! [`LKMM`]: srctree/tools/memory-model/ -//! [`explanation`]: srctree/tools/memory-model/Documentation/explanation.txt +//! [`explanation`]: tools/memory-model/Documentation/explanation.txt
Currently, when I view this on:
https://rust.docs.kernel.org/kernel/sync/atomic/ordering/index.html
the link goes to:
which is the source code of the relevant piece of documentation. Of course, a better link would be:
https://docs.kernel.org/dev-tools/lkmm/docs/explanation.html
However, I think this patch would case the link to go to
instead, which seems wrong.
Alice