Messages in this thread |  | | Date | Thu, 12 Mar 2026 20:50:34 +0100 | | From | "Danilo Krummrich" <> | | Subject | Re: [PATCH v12 1/1] rust: interop: Add list module for C linked list interface |
| |
On Thu Mar 12, 2026 at 8:20 PM CET, Miguel Ojeda wrote: > On Fri, Mar 6, 2026 at 9:37 PM Joel Fernandes <joelagnelf@nvidia.com> wrote: >> >> +//! // Create typed [`CList`] from sentinel head. >> +//! // SAFETY: head is valid and initialized, items are `SampleItemC` with >> +//! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. >> +//! let list = clist_create!(unsafe { head, Item, SampleItemC, link }); > > Was the patch tested with Clippy? It has several issues.
I did not give it a shot yet, but given this and the other nits, this is beyond what I want to fix up when applying the patch.
@Joel, can you please resend?
Thanks, Danilo
|  |