[PATCH v2 06/19] rust: cpufreq: replace `kernel::c_str!` with C-Strings
Viresh Kumar
viresh.kumar at linaro.org
Thu Aug 14 04:15:07 UTC 2025
On 13-08-25, 11:59, Tamir Duberstein wrote:
> C-String literals were added in Rust 1.77. Replace instances of
> `kernel::c_str!` with C-String literals where possible.
>
> Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Reviewed-by: Alice Ryhl <aliceryhl at google.com>
> Reviewed-by: Benno Lossin <lossin at kernel.org>
> Signed-off-by: Tamir Duberstein <tamird at gmail.com>
> ---
> drivers/cpufreq/rcpufreq_dt.rs | 5 ++---
> rust/kernel/cpufreq.rs | 3 +--
> 2 files changed, 3 insertions(+), 5 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
--
viresh
More information about the Nouveau
mailing list