[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJ-ks9=eeg0fsLurb2fJR4mCnQOFxt0aJTEfbiKAn+0LT9=xNw@mail.gmail.com>
Date: Sat, 3 Jan 2026 21:27:15 -0500
From: Tamir Duberstein <tamird@...nel.org>
To: Paolo Abeni <pabeni@...hat.com>
Cc: FUJITA Tomonori <fujita.tomonori@...il.com>, Trevor Gross <tmgross@...ch.edu>,
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>, Danilo Krummrich <dakr@...nel.org>, Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>, Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH 2/2] drivers: net: replace `kernel::c_str!` with C-Strings
On Tue, Dec 30, 2025 at 6:27 AM Tamir Duberstein <tamird@...nel.org> wrote:
>
> On Tue, Dec 30, 2025 at 5:40 AM Paolo Abeni <pabeni@...hat.com> wrote:
> >
> > On 12/22/25 1:32 PM, 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>
> > > ---
> > > drivers/net/phy/ax88796b_rust.rs | 7 +++----
> > > drivers/net/phy/qt2025.rs | 5 ++---
> > > 2 files changed, 5 insertions(+), 7 deletions(-)
> >
> > It's not clear to me if this is targeting the net-next tree. In such case:
> >
> > ## Form letter - net-next-closed
> >
> > The net-next tree is closed for new drivers, features, code refactoring
> > and optimizations due to the merge window and the winter break. We are
> > currently accepting bug fixes only.
> >
> > Please repost when net-next reopens after Jan 2nd.
> >
> > RFC patches sent for review only are obviously welcome at any time.
>
> Yes, this is targeting net-next (unless you folks are OK with it going
> through rust-next, which is also OK with me). Thank you for including
> the date to resend.
v2 (same as v1 + tags):
https://lore.kernel.org/all/20260103-cstr-net-v2-0-8688f504b85d@gmail.com/.
Cheers.
Tamir
Powered by blists - more mailing lists