]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust: scatterlist: Update ARef imports to use sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Sun, 23 Nov 2025 09:24:35 +0000 (14:54 +0530)
committerDanilo Krummrich <dakr@kernel.org>
Thu, 18 Dec 2025 16:25:45 +0000 (17:25 +0100)
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>
rust/kernel/scatterlist.rs

index 196fdb9a75e788cc31093d83e412ff4d6ca56b75..b83c468b5c63311f3a6d92f0f1bf05f6dfe12076 100644 (file)
@@ -38,7 +38,8 @@ use crate::{
     io::ResourceSize,
     page,
     prelude::*,
-    types::{ARef, Opaque},
+    sync::aref::ARef,
+    types::Opaque,
 };
 use core::{ops::Deref, ptr::NonNull};