[PATCH] rust: nova-core: Update ARef imports from sync::aref

Benno Lossin lossin at kernel.org
Wed Aug 20 13:32:21 UTC 2025


On Wed Aug 20, 2025 at 1:28 PM CEST, Shankari Anand wrote:
> Update call sites in nova-core 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 at kernel.org>
> Link: https://github.com/Rust-for-Linux/linux/issues/1173
> Signed-off-by: Shankari Anand <shankari.ak0208 at gmail.com>

Reviewed-by: Benno Lossin <lossin at kernel.org>

---
Cheers,
Benno

> ---
> It part of a subsystem-wise split series, as suggested in:
> https://lore.kernel.org/rust-for-linux/CANiq72=NSRMV_6UxXVgkebmWmbgN4i=sfRszr-G+x3W5A4DYOg@mail.gmail.com/T/#u
> This split series is intended to ease review and subsystem-level maintenance.
>
> The original moving patch is here: (commit 07dad44aa9a93)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=07dad44aa9a93b16af19e8609a10b241c352b440
>
> Gradually the re-export from types.rs will be eliminated in the
> future cycle.
> ---
>  drivers/gpu/nova-core/falcon.rs | 2 +-
>  drivers/gpu/nova-core/fb.rs     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)


More information about the Nouveau mailing list