diff options
| author | 2026-01-07 16:58:10 -0800 | |
|---|---|---|
| committer | 2026-01-12 14:11:04 +0100 | |
| commit | 8d6a8e79226d5e0907c7554235113afa06479029 (patch) | |
| tree | cf7a540781e9bb4f4397f8f72e57c7d572edef65 /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | gpu: nova-core: use CStr::from_bytes_until_nul() in elf64_section() (diff) | |
gpu: nova-core: preserve error information in gpu_name()
Change gpu_name() to return a Result instead of an Option. This avoids
silently discarding error information when parsing the GPU name string
from the GSP.
Update the callsite to log a warning with the error details on failure,
rather than just displaying "invalid GPU name".
Suggested-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Link: https://patch.msgid.link/20260108005811.86014-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
