summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShankari Anand <shankari.ak0208@gmail.com>2025-11-23 14:54:35 +0530
committerDanilo Krummrich <dakr@kernel.org>2025-12-18 17:25:45 +0100
commit2da67beda68776842fd0a26f2374e42a5e9b12c8 (patch)
tree412717e2069679f7ffbbd4eda4791b8dfb79a8d8
parent2e2b4135d1cb32fc310f21e395ee7313a3681bee (diff)
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>
-rw-r--r--rust/kernel/scatterlist.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/kernel/scatterlist.rs b/rust/kernel/scatterlist.rs
index 196fdb9a75e7..b83c468b5c63 100644
--- a/rust/kernel/scatterlist.rs
+++ b/rust/kernel/scatterlist.rs
@@ -38,7 +38,8 @@ use crate::{
io::ResourceSize,
page,
prelude::*,
- types::{ARef, Opaque},
+ sync::aref::ARef,
+ types::Opaque,
};
use core::{ops::Deref, ptr::NonNull};