Re: [PATCH] rust: miscdevice: update ARef import to sync::aref

From: Greg Kroah-Hartman
Date: Tue Aug 19 2025 - 08:13:36 EST


On Tue, Aug 19, 2025 at 11:53:12AM +0000, Alice Ryhl wrote:
> On Mon, Aug 18, 2025 at 06:58:06PM +0530, Shankari Anand wrote:
> > Update the import of `ARef` in misc_device sample to use
> > `sync::aref` instead of `types`.
> >
> > This is part of the ongoing effort to move `ARef` and
> > `AlwaysRefCounted` to the `sync` module for better modularity
> > and type organization.
> >
> > Suggested-by: Benno Lossin <lossin@xxxxxxxxxx>
> > Link: https://github.com/Rust-for-Linux/linux/issues/1173
> > Signed-off-by: Shankari Anand <shankari.ak0208@xxxxxxxxx>
>
> Greg, I believe this should go through miscdevice. It's not going
> through a shared tree.
>
> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
>

It's already queued up in my char-misc tree, thanks :)

greg k-h