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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux