]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: vbios: do not use `as` when comparing BiosImageType
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 28 Oct 2025 23:12:10 +0000 (08:12 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 4 Nov 2025 04:26:26 +0000 (13:26 +0900)
commit505c3ec507a7eb4bbaef9aa8b13b6452e86baca2
tree872366c4f7b5264e3cce6a04540b842da42a0edd
parent9a3c2f8a4f84960a48c056d0da88de3d09e6d622
gpu: nova-core: vbios: do not use `as` when comparing BiosImageType

Use the `image_type` method and compare its result to avoid using `as`.

Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251029-nova-as-v3-2-6a30c7333ad9@nvidia.com>
drivers/gpu/nova-core/vbios.rs