[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20251223.135339.1140460779640053821.fujita.tomonori@gmail.com>
Date: Tue, 23 Dec 2025 13:53:39 +0900 (JST)
From: FUJITA Tomonori <fujita.tomonori@...il.com>
To: tamird@...nel.org
Cc: fujita.tomonori@...il.com, tmgross@...ch.edu, ojeda@...nel.org,
boqun.feng@...il.com, gary@...yguo.net, bjorn3_gh@...tonmail.com,
lossin@...nel.org, a.hindborg@...nel.org, aliceryhl@...gle.com,
dakr@...nel.org, andrew@...n.ch, hkallweit1@...il.com,
linux@...linux.org.uk, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
tamird@...il.com, gregkh@...uxfoundation.org
Subject: Re: [PATCH 0/2] rust: net: replace `kernel::c_str!` with C-Strings
On Mon, 22 Dec 2025 13:32:26 +0100
Tamir Duberstein <tamird@...nel.org> wrote:
> C-String literals were added in Rust 1.77. Replace instances of
> `kernel::c_str!` with C-String literals where possible.
>
> Signed-off-by: Tamir Duberstein <tamird@...il.com>
> ---
> Tamir Duberstein (2):
> rust: net: replace `kernel::c_str!` with C-Strings
> drivers: net: replace `kernel::c_str!` with C-Strings
>
> drivers/net/phy/ax88796b_rust.rs | 7 +++----
> drivers/net/phy/qt2025.rs | 5 ++---
> rust/kernel/net/phy.rs | 6 ++----
> 3 files changed, 7 insertions(+), 11 deletions(-)
> ---
> base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> change-id: 20251222-cstr-net-3bfd7b35acc1
Reviewed-by: FUJITA Tomonori <fujita.tomonori@...il.com>
Powered by blists - more mailing lists