Re: [PATCH v10 1/7] rust: add C wrappers for ww_mutex inline functions
From: Daniel Almeida
Date: Tue Feb 03 2026 - 08:46:15 EST
Hi Onur,
Sorry for the delay, I’m finally getting back to this series.
> On 3 Jan 2026, at 04:35, Onur Özkan <work@xxxxxxxxxxxxx> wrote:
>
> Some of the kernel's `ww_mutex` functions are implemented as
> `static inline`, so they are inaccessible from Rust as bindgen
> can't generate code on them. This patch provides C function wrappers
> around these inline implementations, so bindgen can see them and
> generate the corresponding Rust code.
>
> Signed-off-by: Onur Özkan <work@xxxxxxxxxxxxx>
My comment remains the same as v8 [0]: did you forget to pick up tags? There’s an r-b here in v7 [1].
Or perhaps I’m missing something?
— Daniel
[0]: https://lore.kernel.org/rust-for-linux/2F879792-3C12-4C8F-8EF1-122F44EF2B19@xxxxxxxxxxxxx/
[1]: https://lore.kernel.org/rust-for-linux/34A2E775-A47E-4D4E-A292-E12489F07987@xxxxxxxxxxxxx/