summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2026-01-07 16:58:10 -0800
committerDanilo Krummrich <dakr@kernel.org>2026-01-12 14:11:04 +0100
commit8d6a8e79226d5e0907c7554235113afa06479029 (patch)
treecf7a540781e9bb4f4397f8f72e57c7d572edef65 /include
parent2d7b4a44fb768e1887e7e4cdd8b86817ccd9c3bf (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 'include')
0 files changed, 0 insertions, 0 deletions