[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20260131114140.7098-1-shankari.ak0208@gmail.com>
Date: Sat, 31 Jan 2026 17:11:40 +0530
From: Shankari Anand <shankari.ak0208@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Arve Hjønnevåg <arve@...roid.com>,
Todd Kjos <tkjos@...roid.com>,
Martijn Coenen <maco@...roid.com>,
Joel Fernandes <joelagnelf@...dia.com>,
Christian Brauner <brauner@...nel.org>,
Carlos Llamas <cmllamas@...gle.com>,
Suren Baghdasaryan <surenb@...gle.com>,
Danilo Krummrich <dakr@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>,
Alexandre Courbot <acourbot@...dia.com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Igor Korotin <igor.korotin.linux@...il.com>,
Michal Wilczynski <m.wilczynski@...sung.com>
Cc: Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Trevor Gross <tmgross@...ch.edu>,
Daniel Almeida <daniel.almeida@...labora.com>,
Abdiel Janulgue <abdiel.janulgue@...il.com>,
Robin Murphy <robin.murphy@....com>,
linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org,
Shankari Anand <shankari.ak0208@...il.com>
Subject: Re: [PATCH v2 3/4] rust: usb: Update AlwaysRefCounted imports to use sync::aref
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@...nel.org>
> Link: https://github.com/Rust-for-Linux/linux/issues/1173
> Signed-off-by: Shankari Anand <shankari.ak0208@...il.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
Powered by blists - more mailing lists