diff options
author | 2025-07-19 16:08:16 +0200 | |
---|---|---|
committer | 2025-07-20 19:43:14 +0200 | |
commit | 696b2a6ce9487ae278fd239658ca2714cd211e8e (patch) | |
tree | cb4bf866ba8015a77351937ebc39ea4f65982b39 | |
parent | rust: platform: add resource accessors (diff) | |
download | wireguard-linux-696b2a6ce9487ae278fd239658ca2714cd211e8e.tar.xz wireguard-linux-696b2a6ce9487ae278fd239658ca2714cd211e8e.zip |
rust: io: mem: enable IoRequest doc-tests
When introduced, the IoRequest doc-tests did depend on infrastructure
added in subsequent patches, hence they temporarily had to be disabled.
Now that we have the corresponding platform device infrastructure,
enable them.
Link: https://lore.kernel.org/r/DBG39YMN2TX6.1VR4PEQSI8PSG@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
-rw-r--r-- | rust/kernel/io/mem.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/kernel/io/mem.rs b/rust/kernel/io/mem.rs index 50d4ec3eb623..cc9feb2897d8 100644 --- a/rust/kernel/io/mem.rs +++ b/rust/kernel/io/mem.rs @@ -43,7 +43,7 @@ impl<'a> IoRequest<'a> { /// The following example uses a [`platform::Device`] for illustration /// purposes. /// - /// ```ignore + /// ```no_run /// use kernel::{bindings, c_str, platform, of, device::Core}; /// struct SampleDriver; /// @@ -101,7 +101,7 @@ impl<'a> IoRequest<'a> { /// The following example uses a [`platform::Device`] for illustration /// purposes. /// - /// ```ignore + /// ```no_run /// use kernel::{bindings, c_str, platform, of, device::Core}; /// struct SampleDriver; /// |