]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: justify remaining uses of `as`
authorAlexandre Courbot <acourbot@nvidia.com>
Sun, 26 Oct 2025 13:06:54 +0000 (22:06 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 7 Nov 2025 23:22:51 +0000 (08:22 +0900)
commit80b3dc0a5a2e51fb2b8f3406f5ee20ad4a652316
tree2e3eaa6335a1897a72f088b8379290eab3cff956
parent84e2b401bcc551e7c2e1a995f90cce421bce5bfd
gpu: nova-core: justify remaining uses of `as`

There are a few remaining cases where we *do* want to use `as`,
because we specifically want to strip the data that does not fit into
the destination type. Comment these uses to clear confusion about the
intent.

Acked-by: Danilo Krummrich <dakr@kernel.org>
[acourbot@nvidia.com: fix merge conflicts after rebase.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251029-nova-as-v3-6-6a30c7333ad9@nvidia.com>
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/fb/hal/ga100.rs