[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72niUM8YAiVWooxAPCy3c3Yqt6_1fjW2HN7TVLnmL_GQMQ@mail.gmail.com>
Date: Sat, 19 Jul 2025 22:54:45 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Boqun Feng <boqun.feng@...il.com>, Tamir Duberstein <tamird@...il.com>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...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>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, I Hsin Cheng <richard120310@...il.com>,
Albin Babu Varghese <albinbabuvarghese20@...il.com>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...ts.linux.dev
Subject: Re: [PATCH] rust: list: Add an example for `ListLinksSelfPtr` usage
On Sat, Jul 19, 2025 at 10:36 PM Boqun Feng <boqun.feng@...il.com> wrote:
>
> It appears that the support for `ListLinksSelfPtr` is dead code at the
> moment [1]. Hence add an example similar to `ListLinks` usage to help
> catching bugs and demonstrating the usage.
>
> The example is mostly based on Alice's usage in binder driver[2].
>
> Link: https://lore.kernel.org/rust-for-linux/20250719183649.596051-1-ojeda@kernel.org/ [1]
> Link: https://lore.kernel.org/rust-for-linux/20231101-rust-binder-v1-4-08ba9197f637@google.com/ [2]
> Signed-off-by: Boqun Feng <boqun.feng@...il.com>
I sent that one because I am applying Tamir's series, which triggered
the error -- maybe you can put it on top of those?
If you do, please note that you need a couple changes -- I will push
them to `rust-next` so that you have them.
https://lore.kernel.org/rust-for-linux/20250709-list-no-offset-v4-5-a429e75840a9@gmail.com/
Thanks!
Cheers,
Miguel
Powered by blists - more mailing lists