mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Benno Lossin" <lossin@kernel.org>
To: "Shankari Anand" <shankari.ak0208@gmail.com>,
	<linux-kernel@vger.kernel.org>, <rust-for-linux@vger.kernel.org>
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Danilo Krummrich" <dakr@kernel.org>
Subject: Re: [PATCH v3 2/2] rust: update ARef and AlwaysRefCounted call sites to import from sync::aref
Date: Mon, 14 Jul 2025 10:48:56 +0200	[thread overview]
Message-ID: <DBBNCQQ5HF3N.3HXQWJR71RZ8S@kernel.org> (raw)
In-Reply-To: <20250713213614.188921-2-shankari.ak0208@gmail.com>

On Sun Jul 13, 2025 at 11:36 PM CEST, Shankari Anand wrote:
> Update call sites to import ARef and AlwaysRefCounted directly 
> from sync::aref instead of indirectly via types.
> Remove the re-export of their definitions in types.rs.
>
> 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>
> ---
> v2 -> v3: solved the styling error triggered by the kernel bot.
> ---
>  drivers/block/rnull.rs               |  3 +--
>  drivers/gpu/drm/nova/driver.rs       |  4 +++-
>  drivers/gpu/drm/nova/gem.rs          |  2 +-
>  rust/kernel/auxiliary.rs             |  2 +-
>  rust/kernel/block/mq.rs              |  8 ++++----
>  rust/kernel/block/mq/operations.rs   |  2 +-
>  rust/kernel/block/mq/request.rs      |  3 ++-
>  rust/kernel/cred.rs                  |  6 +-----
>  rust/kernel/device.rs                | 10 +++-------
>  rust/kernel/devres.rs                |  3 +--
>  rust/kernel/dma.rs                   |  2 +-
>  rust/kernel/drm/device.rs            |  3 ++-
>  rust/kernel/drm/driver.rs            |  2 +-
>  rust/kernel/drm/gem/mod.rs           |  3 ++-
>  rust/kernel/fs/file.rs               |  3 ++-
>  rust/kernel/mm.rs                    |  3 ++-
>  rust/kernel/mm/mmput_async.rs        |  2 +-
>  rust/kernel/opp.rs                   | 13 +++++++------
>  rust/kernel/pci.rs                   |  5 +++--
>  rust/kernel/pid_namespace.rs         |  5 +----
>  rust/kernel/platform.rs              |  2 +-
>  rust/kernel/task.rs                  |  7 ++++---
>  rust/kernel/types.rs                 |  2 --
>  samples/rust/rust_dma.rs             |  2 +-
>  samples/rust/rust_driver_pci.rs      |  2 +-
>  samples/rust/rust_driver_platform.rs |  2 +-
>  samples/rust/rust_misc_device.rs     |  3 +--
>  27 files changed, 49 insertions(+), 55 deletions(-)

We probably want to split this by subsystem and not remove the
re-exports this cycle. @Miguel what do you think?

---
Cheers,
Benno


  reply	other threads:[~2025-07-14  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-13 21:36 [PATCH v3 1/4] rust: move ARef and AlwaysRefCounted to sync::aref Shankari Anand
2025-07-13 21:36 ` [PATCH v3 2/2] rust: update ARef and AlwaysRefCounted call sites to import from sync::aref Shankari Anand
2025-07-14  8:48   ` Benno Lossin [this message]
2025-07-14 16:49     ` Miguel Ojeda
2025-07-14  9:54 ` [PATCH v3 1/4] rust: move ARef and AlwaysRefCounted to sync::aref Benno Lossin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DBBNCQQ5HF3N.3HXQWJR71RZ8S@kernel.org \
    --to=lossin@kernel.org \
    --cc=a.hindborg@kernel.org \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dakr@kernel.org \
    --cc=gary@garyguo.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=shankari.ak0208@gmail.com \
    --cc=tmgross@umich.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®