mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
Prepare for `core::ffi::CStr` taking the place of `kernel::str::CStr` by
avoiding methods that only exist on the latter.
This backslid in commit d4a5d397c7 ("samples: rust: Add scoped debugfs
sample driver").
Link: https://patch.msgid.link/20251019213049.2060970-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>