Thread (16 messages) 16 messages, 4 authors, 2025-08-08

Re: [PATCH v2 03/10] rust: configfs: use `core::ffi::CStr` method names

From: Andreas Hindborg <a.hindborg@kernel.org>
Date: 2025-08-08 09:48:23
Also in: dri-devel, linux-devicetree, linux-kselftest, linux-pm, lkml, rust-for-linux

"Tamir Duberstein" [off-list ref] writes:
Prepare for `core::ffi::CStr` taking the place of `kernel::str::CStr` by
avoid methods that only exist on the latter.

Also avoid `Deref<Target=BStr> for CStr` as that impl doesn't exist on
`core::ffi::CStr`.

Link: https://github.com/Rust-for-Linux/linux/issues/1075
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Tamir Duberstein <redacted>
Acked-by: Andreas Hindborg <a.hindborg@kernel.org>


Best regards,
Andreas Hindborg


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