diff options
| author | 2026-01-05 19:52:25 -0800 | |
|---|---|---|
| committer | 2026-01-07 19:36:11 +0100 | |
| commit | da8264ce6c5c02b78f95d31021e942ab38d8dd39 (patch) | |
| tree | 8ed0552d9b0064e58199eecb18df028168e58521 /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | rust: drm: Improve safety comment when using `Pin::into_inner_unchecked` (diff) | |
gpu: nova-core: use CStr::from_bytes_until_nul() and remove util.rs
The util.rs module contained a single helper function,
str_from_null_terminated(), which duplicated functionality that is now
available in core::ffi::CStr.
Specifically, CStr::from_bytes_until_nul() is available in the kernel's
minimum supported Rust version (1.78.0), so it time to stop using this
custom workaround.
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Link: https://patch.msgid.link/20260106035226.48853-2-jhubbard@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
