]> git.ipfire.org Git - thirdparty/linux.git/commit
rust: cpufreq: replace `kernel::c_str!` with C-Strings
authorTamir Duberstein <tamird@gmail.com>
Mon, 22 Dec 2025 12:29:32 +0000 (13:29 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 27 Jan 2026 05:51:22 +0000 (11:21 +0530)
commite05d9e5c8b754cc7d72acd896f5f7caf6b78a973
tree0c0623b4a7192c0a0ba78a31a687124844b03c62
parentd6a6c58da38e4c4564e841faf3880769ff09936b
rust: cpufreq: replace `kernel::c_str!` with C-Strings

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@linuxfoundation.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/rcpufreq_dt.rs
rust/kernel/cpufreq.rs