From 696b2a6ce9487ae278fd239658ca2714cd211e8e Mon Sep 17 00:00:00 2001 From: Danilo Krummrich Date: Sat, 19 Jul 2025 16:08:16 +0200 Subject: [PATCH] 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 --- rust/kernel/io/mem.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/kernel/io/mem.rs b/rust/kernel/io/mem.rs index 50d4ec3eb6237..cc9feb2897d86 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; /// -- 2.47.2