diff options
| author | Eliot Courtney <ecourtney@nvidia.com> | 2026-05-25 22:57:20 +0900 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-05-25 16:30:34 +0200 |
| commit | 7a1d09e477b6496f13f92b84ed9b2eab191b3366 (patch) | |
| tree | f5171f22743368f8b71124d30537bbf95b1c6b2d /include/linux/debugobjects.h | |
| parent | fc7c1054b6f983ae2f3e100a24cc87908ae9f4b7 (diff) | |
gpu: nova-core: vbios: use checked arithmetic for bios image range end
`read_bios_image_at_offset` is called with a length from the VBIOS
header, so we should be more defensive here and use checked arithmetic.
Fixes: 6fda04e7f0cd ("gpu: nova-core: vbios: Add base support for VBIOS construction and iteration")
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260525-fix-vbios-v5-2-e5e455251537@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
