Re: [PATCH] rust: opp: use c_* types via kernel prelude

From: Miguel Ojeda
Date: Fri Jun 20 2025 - 06:15:06 EST


On Fri, Jun 20, 2025 at 12:00 PM Abhinav Ananthu <abhinav.ogl@xxxxxxxxx> wrote:
>
> Although these types are defined in a crate named `ffi`, they are re-exported
> via the `kernel::prelude` and should be used from there. This aligns with the
> Rust-for-Linux coding guidelines and ensures ABI correctness when interfacing
> with C code.

By the way, thanks for sending these, and please feel free to clean up
the rest -- we have a bunch of instances of this in the tree :)

Happy to create an issue about it.

Cheers,
Miguel