From: Danilo Krummrich Date: Sat, 19 Jul 2025 14:08:16 +0000 (+0200) Subject: rust: io: mem: enable IoRequest doc-tests X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=696b2a6ce9487ae278fd239658ca2714cd211e8e;p=thirdparty%2Flinux.git 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 --- 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; ///