Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Alice Ryhl and committed by
Danilo Krummrich
ee2776e5 dfd67993

+1 -1
+1 -1
rust/kernel/scatterlist.rs
··· 35 35 device::{Bound, Device}, 36 36 devres::Devres, 37 37 dma, error, 38 - io::resource::ResourceSize, 38 + io::ResourceSize, 39 39 page, 40 40 prelude::*, 41 41 types::{ARef, Opaque},