[PATCH v2 03/10] rust: configfs: use `core::ffi::CStr` method names
Andreas Hindborg
a.hindborg at kernel.org
Fri Aug 8 09:46:50 UTC 2025
"Tamir Duberstein" <tamird at gmail.com> 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 at linuxfoundation.org>
> Reviewed-by: Alice Ryhl <aliceryhl at google.com>
> Reviewed-by: Benno Lossin <lossin at kernel.org>
> Acked-by: Danilo Krummrich <dakr at kernel.org>
> Signed-off-by: Tamir Duberstein <tamird at gmail.com>
Acked-by: Andreas Hindborg <a.hindborg at kernel.org>
Best regards,
Andreas Hindborg
More information about the dri-devel
mailing list