Thread (29 messages) 29 messages, 7 authors, 2025-10-22

Re: [RESEND PATCH v18 13/16] rust: regulator: use `CStr::as_char_ptr`

From: Mark Brown <hidden>
Date: 2025-10-20 12:28:20
Also in: dri-devel, linux-clk, linux-fsdevel, linux-pci, linux-pm, lkml, llvm, rust-for-linux

On Sun, Oct 19, 2025 at 11:25:16PM +0200, Miguel Ojeda wrote:
On Sat, Oct 18, 2025 at 9:17 PM Tamir Duberstein [off-list ref] wrote:
quoted
From: Tamir Duberstein <redacted>
quoted
Replace the use of `as_ptr` which works through `<CStr as
Deref<Target=&[u8]>::deref()` in preparation for replacing
`kernel::str::CStr` with `core::ffi::CStr` as the latter does not
implement `Deref<Target=&[u8]>`.
Liam, Mark: I will apply this since it would be nice to try to get the
flag day patch in this series finally done -- please shout if you have
a problem with this.
Acked-by: Mark Brown <broonie@kernel.org>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help