On Mon Feb 9, 2026 at 10:42 PM CET, Joel Fernandes wrote: > rust/kernel/clist.rs | 320 +++++++++++++++++++++++++++++++++++++++++
I think we should move this under rust/kernel/ffi/ to make it obvious that this is FFI infrastructure. > diff --git a/rust/kernel/clist.rs b/rust/kernel/clist.rs > new file mode 100644 > index 000000000000..8aa72b5d54be > --- /dev/null > +++ b/rust/kernel/clist.rs > @@ -0,0 +1,320 @@ > +// SPDX-License-Identifier: GPL-2.0 > + > +//! A C doubly circular intrusive linked list interface for rust code. Here and in the struct documentation, I'd suggest to clearly point out the use-cases, i.e. that this infrastructure is for FFI use-cases only and should not be used otherwise in drivers, etc.
