summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2026-01-05 19:52:26 -0800
committerDanilo Krummrich <dakr@kernel.org>2026-01-07 19:36:11 +0100
commit2d7b4a44fb768e1887e7e4cdd8b86817ccd9c3bf (patch)
treec1a8bdca00366f09d1d20531a691ffe9aac718e7 /kernel
parentda8264ce6c5c02b78f95d31021e942ab38d8dd39 (diff)
gpu: nova-core: use CStr::from_bytes_until_nul() in elf64_section()
Instead of open-coding the steps for extracting a null-terminated string, use the newly available CStr::from_bytes_until_nul(). Suggested-by: Joel Fernandes <joelagnelf@nvidia.com> Signed-off-by: John Hubbard <jhubbard@nvidia.com> Link: https://patch.msgid.link/20260106035226.48853-3-jhubbard@nvidia.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions