summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJohn Hubbard <jhubbard@nvidia.com>2026-01-08 03:58:10 +0300
committerDanilo Krummrich <dakr@kernel.org>2026-01-12 16:11:04 +0300
commit8d6a8e79226d5e0907c7554235113afa06479029 (patch)
treecf7a540781e9bb4f4397f8f72e57c7d572edef65 /scripts/patch-kernel
parent2d7b4a44fb768e1887e7e4cdd8b86817ccd9c3bf (diff)
downloadlinux-8d6a8e79226d5e0907c7554235113afa06479029.tar.xz
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions