[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DF5JD7FQGQB4.2B3HNIBF5XNR1@kernel.org>
Date: Tue, 23 Dec 2025 11:49:22 +0100
From: "Danilo Krummrich" <dakr@...nel.org>
To: "Tamir Duberstein" <tamird@...nel.org>
Cc: "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>, "Rafael J. Wysocki"
<rafael@...nel.org>, "Miguel Ojeda" <ojeda@...nel.org>, "Boqun Feng"
<boqun.feng@...il.com>, "Gary Guo" <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>, "Benno Lossin"
<lossin@...nel.org>, "Andreas Hindborg" <a.hindborg@...nel.org>, "Alice
Ryhl" <aliceryhl@...gle.com>, "Trevor Gross" <tmgross@...ch.edu>,
<rust-for-linux@...r.kernel.org>, <linux-kernel@...r.kernel.org>, "Tamir
Duberstein" <tamird@...il.com>
Subject: Re: [PATCH] samples: rust: faux: replace `kernel::c_str!` with
C-Strings
On Tue Dec 23, 2025 at 8:40 AM CET, Tamir Duberstein wrote:
> From: Tamir Duberstein <tamird@...il.com>
>
> 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@...uxfoundation.org>
> Reviewed-by: Alice Ryhl <aliceryhl@...gle.com>
> Reviewed-by: Benno Lossin <lossin@...nel.org>
> Signed-off-by: Tamir Duberstein <tamird@...il.com>
Applied to driver-core-testing, thanks!
[ Use kernel vertical import style. - Danilo ]
(Please use kernel vertical import style in the future when modifying imports.
Especially in this case, where the modified line is the only import of the whole
file. Thanks!)
Powered by blists - more mailing lists