mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00: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/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>