]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust: iommu: fix `srctree` link warning
authorMiguel Ojeda <ojeda@kernel.org>
Wed, 21 Jan 2026 18:43:39 +0000 (19:43 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 22 Jan 2026 08:19:30 +0000 (09:19 +0100)
The Rust kernel code should be kept `rustdoc`-clean [1].

Our custom `srctree` link checker in the `rustdoc` target reports:

    warning: srctree/ link to include/io-pgtable.h does not exist

Thus fix it.

Link: https://rust-for-linux.com/contributing#submit-checklist-addendum
Fixes: 2e2f6b0ef855 ("rust: iommu: add io_pgtable abstraction")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
rust/kernel/iommu/pgtable.rs

index 916e1f509e6221b78aa45764d79dceefee332822..c88e38fd938aee4d556ceca879a806b2f101f33b 100644 (file)
@@ -2,7 +2,7 @@
 
 //! IOMMU page table management.
 //!
-//! C header: [`include/io-pgtable.h`](srctree/include/io-pgtable.h)
+//! C header: [`include/linux/io-pgtable.h`](srctree/include/linux/io-pgtable.h)
 
 use core::{
     marker::PhantomData,