From: Alice Ryhl Date: Wed, 12 Nov 2025 09:48:34 +0000 (+0000) Subject: rust: scatterlist: import ResourceSize from kernel::io X-Git-Tag: v6.19-rc1~90^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee2776e54b2666f99ef5e3ad0b60889e1500dada;p=thirdparty%2Fkernel%2Flinux.git rust: scatterlist: import ResourceSize from kernel::io Now that ResourceSize has been moved to kernel::io, import it from the io module instead of the io::resource sub-module. It makes sense in this case since the dma_len isn't really related to the Resource type even though both are sizes of allocations in physical ram. Signed-off-by: Alice Ryhl Link: https://patch.msgid.link/20251112-resource-phys-typedefs-v2-3-538307384f82@google.com Signed-off-by: Danilo Krummrich --- diff --git a/rust/kernel/scatterlist.rs b/rust/kernel/scatterlist.rs index 9709dff60b5a9..196fdb9a75e78 100644 --- a/rust/kernel/scatterlist.rs +++ b/rust/kernel/scatterlist.rs @@ -35,7 +35,7 @@ use crate::{ device::{Bound, Device}, devres::Devres, dma, error, - io::resource::ResourceSize, + io::ResourceSize, page, prelude::*, types::{ARef, Opaque},