Thread (31 messages) 31 messages, 8 authors, 2025-12-22

Re: [PATCH v2 19/19] rust: regulator: replace `kernel::c_str!` with C-Strings

From: "Benno Lossin" <lossin@kernel.org>
Date: 2025-09-25 22:12:37
Also in: dri-devel, linux-block, linux-clk, linux-fsdevel, linux-kselftest, linux-pci, linux-pm, lkml, nouveau, rust-for-linux

On Thu Sep 25, 2025 at 3:54 PM CEST, Tamir Duberstein 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 <redacted>
Reviewed-by: Benno Lossin <lossin@kernel.org>

---
Cheers,
Benno
---
 rust/kernel/regulator.rs | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help