On Sat, Jan 03, 2026 at 01:57:13AM +0530, Shankari Anand wrote:
> Update call sites in `usb.rs` to import `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>
> ---
> v1 -> v2:
>
> Re-worded the commit title to rust: usb:
>
> Link of v1: https://lore.kernel.org/all/20251123092438.182251-9-shankari.ak0208@gmail.com/
>
> ---
> rust/kernel/usb.rs | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/rust/kernel/usb.rs b/rust/kernel/usb.rs
> index d10b65e9fb6a..79ff2f881572 100644
> --- a/rust/kernel/usb.rs
> +++ b/rust/kernel/usb.rs
> @@ -12,7 +12,8 @@
> error::{from_result, to_result, Result},
> prelude::*,
> str::CStr,
> - types::{AlwaysRefCounted, Opaque},
> + sync::aref::AlwaysRefCounted,
> + types::Opaque,
> ThisModule,
> };
> use core::{
> --
> 2.34.1
>
Hello,
Can this patch be picked up for review please?
Thanks and regards,
Shankari