]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: dma: Update ARef and AlwaysRefCounted imports from sync::aref
authorShankari Anand <shankari.ak0208@gmail.com>
Thu, 14 Aug 2025 10:41:33 +0000 (16:11 +0530)
committerDanilo Krummrich <dakr@kernel.org>
Fri, 15 Aug 2025 20:53:05 +0000 (22:53 +0200)
commit7e25d84f460c59322bf01dfeb1fb4745b488f714
tree4e05388f63127dddc20c957ab5a3da8b3c4392c3
parentbb9749f32ad38cf343e6650a34125be6aacd65d1
rust: dma: Update ARef and AlwaysRefCounted imports from sync::aref

Update call sites in the dma subsystem to import `ARef` and
`AlwaysRefCounted` 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://lore.kernel.org/r/20250814104133.350093-1-shankari.ak0208@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/dma.rs
samples/rust/rust_dma.rs