From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9347DF483FF for ; Mon, 23 Mar 2026 21:02:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 12D8B10E483; Mon, 23 Mar 2026 21:02:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="OtAcNpeH"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 49D2310E091; Mon, 23 Mar 2026 21:02:16 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 5FCB0600C4; Mon, 23 Mar 2026 21:02:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF90AC4CEF7; Mon, 23 Mar 2026 21:02:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774299735; bh=dqk4kdg+Zk64HBd2FzGAkQH4A7+RJLy4QJjOPDS02h8=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=OtAcNpeHdYCfcG95v0YNmWawpxLlpVnEsVs2xnwB8uQvp6VTriFb+5NTs2Fo6Is0o rADJ3RsPnbhSao0F+yzAGFS1yx5YTPBk0Xe1J0fE3wsiyibb/yuo010okJz72Pci4R JcnSmB27pqE5e+45S8y4g3bHwvwYyXcKFevoWpRyou/dLPxlGUUdRmghwyxIZcfsYv Ji1SMtrC7dbuIRHyMMW9FjqcYEctIu1e1lNOmLBzISB9YaAo1ohTJGbzRINT5QRxC7 rsaNkrvxJfq+dRJeSA0qB+Cao+iCB/VPoIocFM6OTU9Wj5Cv943SQpRD9IthU18R3t asD8FALwMSdow== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 23 Mar 2026 22:02:03 +0100 Message-Id: Subject: Re: [PATCH v13.1] rust: interop: Add list module for C linked list interface Cc: , "Gary Guo" , "Miguel Ojeda" , "Boqun Feng" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Alex Gaynor" , "Dave Airlie" , "David Airlie" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "Simona Vetter" , "Daniel Almeida" , "Koen Koning" , "Nikola Djukic" , "Alexandre Courbot" , "Philipp Stanner" , "Elle Rhumsaa" , "Jonathan Corbet" , "Alex Deucher" , =?utf-8?q?Christian_K=C3=B6nig?= , "Jani Nikula" , "Joonas Lahtinen" , "Rodrigo Vivi" , "Tvrtko Ursulin" , "Huang Rui" , "Matthew Auld" , "Matthew Brost" , "Lucas De Marchi" , =?utf-8?q?Thomas_Hellstr=C3=B6m?= , "Helge Deller" , "John Hubbard" , "Alistair Popple" , "Timur Tabi" , "Edwin Peer" , "Andrea Righi" , "Andy Ritger" , "Zhi Wang" , "Balbir Singh" , , "Eliot Courtney" , , , , , , , To: "Joel Fernandes" From: "Danilo Krummrich" References: <20260319210722.1543776-1-joelagnelf@nvidia.com> In-Reply-To: <20260319210722.1543776-1-joelagnelf@nvidia.com> X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Thu Mar 19, 2026 at 10:07 PM CET, 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 > Reviewed-by: Daniel Almeida > Reviewed-by: Alexandre Courbot > Reviewed-by: Alice Ryhl > Acked-by: Alexandre Courbot > Acked-by: Gary Guo > Acked-by: Miguel Ojeda > Signed-off-by: Joel Fernandes Applied to drm-rust-next, thanks! [ * Remove stray empty comment and double blank line in doctest, * Improve wording and fix a few typos, * Use markdown emphasis instead of caps, * Move interop/mod.rs to interop.rs. - Danilo ] (I moved interop/mod.rs to interop.rs as it is the predominant variant in throughout the tree, consistent with all other Rust core infrastructure and= we concluded to follow up on this topic subsequently.)