]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rust: scatterlist: import ResourceSize from kernel::io
authorAlice Ryhl <aliceryhl@google.com>
Wed, 12 Nov 2025 09:48:34 +0000 (09:48 +0000)
committerDanilo Krummrich <dakr@kernel.org>
Thu, 13 Nov 2025 09:17:24 +0000 (20:17 +1100)
commitee2776e54b2666f99ef5e3ad0b60889e1500dada
tree7cea7cd15d607932af7dfd131623c6a42c66039f
parentdfd67993044f507ba8fd6ee9956f923ba4b7e851
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 <aliceryhl@google.com>
Link: https://patch.msgid.link/20251112-resource-phys-typedefs-v2-3-538307384f82@google.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/scatterlist.rs