summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-07-19 16:08:16 +0200
committerDanilo Krummrich <dakr@kernel.org>2025-07-20 19:43:14 +0200
commit696b2a6ce9487ae278fd239658ca2714cd211e8e (patch)
treecb4bf866ba8015a77351937ebc39ea4f65982b39 /rust/kernel
parentbc4f9045a59963abb142f6a648195ccd73ec39dd (diff)
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>
Diffstat (limited to 'rust/kernel')
-rw-r--r--rust/kernel/io/mem.rs4
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;
///