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: Update ARef imports to use sync::aref

Update call sites in `scatterlist.rs` to import `ARef`
from `sync::aref` instead of `types`.

This aligns with the ongoing effort to move `ARef` and
`AlwaysRefCounted` to sync.

Suggested-by: Benno Lossin <lossin@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Link: https://patch.msgid.link/20251123092438.182251-8-shankari.ak0208@gmail.com
[ Change subject prefix to from 'kernel' to 'scatterlist'. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>

authored by

Shankari Anand and committed by
Danilo Krummrich
2da67bed 2e2b4135

+2 -1
+2 -1
rust/kernel/scatterlist.rs
··· 38 38 io::ResourceSize, 39 39 page, 40 40 prelude::*, 41 - types::{ARef, Opaque}, 41 + sync::aref::ARef, 42 + types::Opaque, 42 43 }; 43 44 use core::{ops::Deref, ptr::NonNull}; 44 45