Re: [PATCH v2] rust: update `kernel::c_str!` documentation
From: Miguel Ojeda
Date: Sun Mar 15 2026 - 17:24:08 EST
On Mon, Mar 9, 2026 at 6:02 PM Tamir Duberstein <tamird@xxxxxxxxxx> wrote:
>
> Now that all literals are C-Strings, update the documentation to explain
> that use of this macro should be limited to non-literal strings.
>
> Link: https://github.com/Rust-for-Linux/linux/issues/1075
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxxx>
Applied to `rust-next` -- thanks everyone!
[ Apply sentence case to comment. Reword title. - Miguel ]
Cheers,
Miguel