Re: [PATCH] rust: configfs: replace `kernel::c_str!` with C-Strings
From: Andreas Hindborg
Date: Tue Jan 06 2026 - 07:29:34 EST
Tamir Duberstein <tamird@xxxxxxxxx> writes:
> On Mon, Dec 22, 2025 at 7:12 AM Tamir Duberstein <tamird@xxxxxxxxxx> wrote:
>>
>> From: Tamir Duberstein <tamird@xxxxxxxxx>
>>
>> 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@xxxxxxxxxxxxxxxxxxx>
>> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
>> Reviewed-by: Benno Lossin <lossin@xxxxxxxxxx>
>> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx>
>> Acked-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
>
> @Andreas could you please have a look?
I'll take it for next cycle.
Best regards,
Andreas Hindborg