Thread (9 messages) flat view 9 messages, 3 authors, 2026-02-27

Re: [PATCH v11 2/2] rust: clist: Add support to interface with C linked lists

From: Joel Fernandes <joelagnelf@nvidia.com>
Date: 2026-02-26 00:24:23
Also in: amd-gfx, dri-devel, intel-gfx, intel-xe, linux-doc, lkml, nouveau, rust-for-linux

On Wed, 25 Feb 2026 17:09:22 +0900, Alexandre Courbot wrote:
On Wed Feb 25, 2026 at 7:27 AM JST, Joel Fernandes wrote:
quoted
Add a new module `clist` for working with C's doubly circular linked
lists. Provide low-level iteration over list nodes.
<snip>
+        // SAFETY: `item_ptr` calculation from `OFFSET` (calculated using offset_of!)

`item_ptr` does not exist.
Good catch, thanks! Fixed.

-- 
Joel Fernandes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help