summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2026-01-05 19:52:25 -0800
committerDanilo Krummrich <dakr@kernel.org>2026-01-07 19:36:11 +0100
commitda8264ce6c5c02b78f95d31021e942ab38d8dd39 (patch)
tree8ed0552d9b0064e58199eecb18df028168e58521 /kernel
parent4348796233e736147e2e79c58784d0a9fb48867d (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 'kernel')
0 files changed, 0 insertions, 0 deletions