Loading
rust: miscdevice: use `core::ffi::CStr` method names
Prepare for `core::ffi::CStr` taking the place of `kernel::str::CStr` by avoid methods that only exist on the latter. 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> Signed-off-by:
Tamir Duberstein <tamird@gmail.com> Signed-off-by:
Miguel Ojeda <ojeda@kernel.org>