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

Stephen Boyd
2025-06-21T21:17:09Z

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@gmail.com>
> ---

For clk part

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