On Fri Jul 4, 2025 at 10:14 PM CEST, Tamir Duberstein
wrote:> Prepare for `core::ffi::CStr` taking the place of `kernel::str::CStr` by
> avoiding 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
> Signed-off-by: Tamir Duberstein <tamird at gmail.com>
Reviewed-by: Benno Lossin <lossin at kernel.org>
---
Cheers,
Benno
> ---
> rust/kernel/error.rs | 2 +-
> rust/kernel/str.rs | 20 ++++++++++----------
> 2 files changed, 11 insertions(+), 11 deletions(-)