Re: [PATCH v12 2/3] rust: add parameter support to the `module!` macro

From: Miguel Ojeda
Date: Wed Jun 11 2025 - 08:39:53 EST


On Wed, May 7, 2025 at 1:23 PM Benno Lossin <lossin@xxxxxxxxxx> wrote:
>
> > +unsafe extern "C" fn set_param<T>(
> > + val: *const kernel::ffi::c_char,
> > + param: *const crate::bindings::kernel_param,
> > +) -> core::ffi::c_int

New instance of `core::ffi::` (and both these `c_*` should be unqualified).

Cheers,
Miguel