mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
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>
This commit is contained in:
parent
2e2b4135d1
commit
2da67beda6
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,8 @@ use crate::{
|
|||
io::ResourceSize,
|
||||
page,
|
||||
prelude::*,
|
||||
types::{ARef, Opaque},
|
||||
sync::aref::ARef,
|
||||
types::Opaque,
|
||||
};
|
||||
use core::{ops::Deref, ptr::NonNull};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue