[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250623042239.4sea6d6lmamfrc4w@vireshk-i7>
Date: Mon, 23 Jun 2025 09:52:39 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Abhinav Ananthu <abhinav.ogl@...il.com>
Cc: vireshk@...nel.org, nm@...com, sboyd@...nel.org, ojeda@...nel.org,
alex.gaynor@...il.com, boqun.feng@...il.com, gary@...yguo.net,
bjorn3_gh@...tonmail.com, lossin@...nel.org, a.hindborg@...nel.org,
aliceryhl@...gle.com, tmgross@...ch.edu, dakr@...nel.org,
linux-pm@...r.kernel.org, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rust: opp: use c_* types via kernel prelude
On 20-06-25, 15:29, Abhinav Ananthu wrote:
> 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.
>
> Signed-off-by: Abhinav Ananthu <abhinav.ogl@...il.com>
> Suggested-by: Viresh Kumar <viresh.kumar@...aro.org>
> ---
> rust/kernel/opp.rs | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists