public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] rust: net: replace `kernel::c_str!` with C-Strings
@ 2025-12-22 12:32 Tamir Duberstein
  2025-12-22 12:32 ` [PATCH 1/2] " Tamir Duberstein
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Tamir Duberstein @ 2025-12-22 12:32 UTC (permalink / raw)
  To: FUJITA Tomonori, Trevor Gross, Miguel Ojeda, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Danilo Krummrich, Andrew Lunn, Heiner Kallweit, Russell King,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: netdev, rust-for-linux, linux-kernel, Tamir Duberstein,
	Greg Kroah-Hartman

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@gmail.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

Best regards,
--  
Tamir Duberstein <tamird@gmail.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-01-04  2:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-22 12:32 [PATCH 0/2] rust: net: replace `kernel::c_str!` with C-Strings Tamir Duberstein
2025-12-22 12:32 ` [PATCH 1/2] " Tamir Duberstein
2025-12-22 12:32 ` [PATCH 2/2] drivers: " Tamir Duberstein
2025-12-30 10:40   ` Paolo Abeni
2025-12-30 11:27     ` Tamir Duberstein
2026-01-04  2:27       ` Tamir Duberstein
2025-12-22 13:18 ` [PATCH 0/2] rust: " Daniel Almeida
2025-12-23  4:53 ` FUJITA Tomonori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox