]> git.ipfire.org Git - thirdparty/linux.git/commit
gpu: nova-core: firmware: factor out an elf_str() function
authorJohn Hubbard <jhubbard@nvidia.com>
Thu, 26 Mar 2026 01:38:39 +0000 (18:38 -0700)
committerAlexandre Courbot <acourbot@nvidia.com>
Mon, 30 Mar 2026 05:01:53 +0000 (14:01 +0900)
commit7c50d748b4a635bc39802ea3f6b120e66b1b9067
tree006fa4d17a465bb6499f73a543254ab96ec105e8
parentb3d24269b3c7e764b694689b5fd7517546625150
gpu: nova-core: firmware: factor out an elf_str() function

Factor out a chunk of complexity into a new subroutine. This is an
incremental step in adding ELF32 support to the existing ELF64 section
support, for handling GPU firmware.

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260326013902.588242-9-jhubbard@nvidia.com
[acourbot: use fuller prefix in commit message.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/firmware.rs