[PATCH v12 4/5] rust: replace `kernel::c_str!` with C-Strings

Stephen Boyd sboyd at kernel.org
Sat Jun 21 21:17:08 UTC 2025


Quoting Tamir Duberstein (2025-06-19 08:06:28)
> C-String literals were added in Rust 1.77. Replace instances of
> `kernel::c_str!` with C-String literals where possible and rename
> `kernel::c_str!` to `str_to_cstr!` to clarify its intended use.
> 
> Closes: https://github.com/Rust-for-Linux/linux/issues/1075
> Signed-off-by: Tamir Duberstein <tamird at gmail.com>
> ---

For clk part

>  rust/kernel/clk.rs                    |  6 ++----

Acked-by: Stephen Boyd <sboyd at kernel.org> # clk


More information about the Nouveau mailing list