[PATCH v2 04/19] rust: clk: replace `kernel::c_str!` with C-Strings

Viresh Kumar viresh.kumar at linaro.org
Thu Aug 14 04:15:35 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>
> Acked-by: Stephen Boyd <sboyd at kernel.org>
> ---
>  rust/kernel/clk.rs | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh


More information about the Nouveau mailing list