]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drivers: android: binder: Update ARef imports from sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Fri, 2 Jan 2026 20:27:11 +0000 (01:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Feb 2026 11:58:36 +0000 (12:58 +0100)
Update call sites in binder files 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>
Acked-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20260102202714.184223-2-shankari.ak0208@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder/process.rs
drivers/android/binder/thread.rs

index ba98ef9f3545361f38eb38688866e1195b6f0e40..41de5593197cd29b71d1cb49829a1ff878bab249 100644 (file)
@@ -28,11 +28,11 @@ use kernel::{
     seq_print,
     sync::poll::PollTable,
     sync::{
+        aref::ARef,
         lock::{spinlock::SpinLockBackend, Guard},
         Arc, ArcBorrow, CondVar, CondVarTimeoutResult, Mutex, SpinLock, UniqueArc,
     },
     task::Task,
-    types::ARef,
     uaccess::{UserSlice, UserSliceReader},
     uapi,
     workqueue::{self, Work},
index 6e8f29e50cacb227028e35dff90a38c1a76cd78c..23697ae896eedecddebfc95ffd790fa5a1d04621 100644 (file)
@@ -16,9 +16,8 @@ use kernel::{
     seq_file::SeqFile,
     seq_print,
     sync::poll::{PollCondVar, PollTable},
-    sync::{Arc, SpinLock},
+    sync::{aref::ARef, Arc, SpinLock},
     task::Task,
-    types::ARef,
     uaccess::UserSlice,
     uapi,
 };