[PATCH] rust: sync: ordering: Fix dead link to LKMM explanation
From: Soham Metha
Date: Wed Dec 03 2025 - 15:33:46 EST
Fix the reference to the LKMM 'explanation' document, using the `srctree/`
prefix triggers an htmldocs warning.
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202508301445.KuPDLTET-lkp@xxxxxxxxx/
Signed-off-by: Soham Metha <sohammetha01@xxxxxxxxx>
---
No functional changes.
rust/kernel/sync/atomic/ordering.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/sync/atomic/ordering.rs b/rust/kernel/sync/atomic/ordering.rs
index 3f103aa8db99..d71c4f582f75 100644
--- a/rust/kernel/sync/atomic/ordering.rs
+++ b/rust/kernel/sync/atomic/ordering.rs
@@ -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].
--
2.34.1