Messages in this thread |  | | Date | Mon, 16 Mar 2026 13:34:17 +0900 | | Subject | Re: [PATCH v12 1/1] rust: interop: Add list module for C linked list interface | | From | "Alexandre Courbot" <> |
| |
On Sat Mar 7, 2026 at 5:36 AM JST, Joel Fernandes wrote: > Add a new module `kernel::interop::list` for working with C's doubly > circular linked lists. Provide low-level iteration over list nodes. > > Typed iteration over actual items is provided with a `clist_create` > macro to assist in creation of the `CList` type. > > Cc: Nikola Djukic <ndjukic@nvidia.com> > Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com> > Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> > Acked-by: Alexandre Courbot <acourbot@nvidia.com> > Acked-by: Gary Guo <gary@garyguo.net> > Acked-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> > Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com> > --- > MAINTAINERS | 8 + > rust/helpers/helpers.c | 1 + > rust/helpers/list.c | 17 ++ > rust/kernel/interop/list.rs | 338 ++++++++++++++++++++++++++++++++++++ > rust/kernel/interop/mod.rs | 9 +
I think I have mentioned that in another context, but the standard seems to be to use `interop.rs` instead of `interop/mod.rs` (Miguel please correct me if I'm wrong).
Also, and once again, please, please build with CLIPPY=1 before sending. The buddy series also has clippy warnings. Fixing them before I can review is tedious.
|  |