rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
To: "Maíra Canal" <mcanal@igalia.com>
Cc: "Alice Ryhl" <aliceryhl@google.com>,
	"Asahi Lina" <lina@asahilina.net>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@gmail.com>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <benno.lossin@proton.me>,
	"Andreas Hindborg" <a.hindborg@samsung.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Matt Gilbride" <mattgilbride@google.com>,
	"Lyude Paul" <lyude@redhat.com>,
	"Danilo Krummrich" <dakr@redhat.com>,
	rust-for-linux@vger.kernel.org, kernel-dev@igalia.com,
	"Léo Lanteri Thauvin" <leseulartichaut@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@google.com>
Subject: Re: [PATCH] rust: Add `container_of` and `offset_of` macros
Date: Tue, 20 Feb 2024 16:54:28 +0100	[thread overview]
Message-ID: <CANiq72mvqfu2akoMGOj-N0tUOAnvTMOBN1dYA7CZxcJqpd6Fog@mail.gmail.com> (raw)
In-Reply-To: <83571d1e-5710-47d6-9a6c-2a0bb5ab5e5a@igalia.com>

On Mon, Feb 19, 2024 at 10:57 PM Maíra Canal <mcanal@igalia.com> wrote:
>
> Thanks for your explanation, I haven't thought through this point of
> view. Anyway, any chance we could land the `container_of!` patch as soon
> as possible? It would be nice to have a common understanding of this
> fundamental macro. I would like to send some patches with the DMA fences
> abstraction, but I would need `container_of!`.

Would you be OK with their version? If so, I could take that one; and
if not, we can discuss what to do.

But, in any case, as Alice mentioned, please feel free to send your
series even before that. It is anyway a very small dependency that
will soon go in.

Cheers,
Miguel

  parent reply	other threads:[~2024-02-20 15:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20240217153356eucas1p17c926b49da33a438d286ebb5c1a918c9@eucas1p1.samsung.com>
2024-02-17 15:32 ` [PATCH] rust: Add `container_of` and `offset_of` macros Maíra Canal
2024-02-18 17:10   ` Martin Rodriguez Reboredo
2024-02-19  9:49   ` Alice Ryhl
2024-02-19 21:57     ` Maíra Canal
2024-02-19 22:04       ` Alice Ryhl
2024-02-20 15:54       ` Miguel Ojeda [this message]
2024-02-21 11:27         ` Maíra Canal
2024-02-25 20:30           ` Miguel Ojeda
2024-02-19  9:51   ` Andreas Hindborg

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=CANiq72mvqfu2akoMGOj-N0tUOAnvTMOBN1dYA7CZxcJqpd6Fog@mail.gmail.com \
    --to=miguel.ojeda.sandonis@gmail.com \
    --cc=a.hindborg@samsung.com \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dakr@redhat.com \
    --cc=gary@garyguo.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel-dev@igalia.com \
    --cc=leseulartichaut@gmail.com \
    --cc=lina@asahilina.net \
    --cc=lyude@redhat.com \
    --cc=mattgilbride@google.com \
    --cc=mcanal@igalia.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=wedsonaf@gmail.com \
    --cc=wedsonaf@google.com \
    /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;
as well as URLs for NNTP newsgroup(s).