diff options
author | Abhinav Ananthu <abhinav.ogl@gmail.com> | 2025-06-20 12:59:21 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-06-23 07:22:45 +0300 |
commit | 22679d807dea5c065d8019acfce48f20e87ba5ca (patch) | |
tree | 0ac66163d0138ea4875c8454ada9fa7851febefc /lib/crypto/mpi/mpiutil.c | |
parent | e04c78d86a9699d136910cfc0bdcf01087e3267e (diff) | |
download | linux-22679d807dea5c065d8019acfce48f20e87ba5ca.tar.xz |
rust: opp: use c_* types via kernel prelude
Update OPP FFI callback signatures to use `c_int` from the `kernel::prelude`,
instead of accessing it via `kernel::ffi::c_int`.
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.
Suggested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Abhinav Ananthu <abhinav.ogl@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions