diff options
| author | Alexandre Courbot <acourbot@nvidia.com> | 2025-10-29 00:07:38 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2025-11-05 20:29:47 +0900 |
| commit | 56bb4b17a696a91aeaf7939d467a4f586edb01c6 (patch) | |
| tree | c49d2b761302f02703982a3b61b42ede7c0ac0fb /rust/kernel/workqueue.rs | |
| parent | 7f74842d95d1a24c68d23320de4f3eb27e6ba82b (diff) | |
gpu: nova-core: vbios: use FromBytes for PcirStruct
Use `from_bytes_copy_prefix` to create `PcirStruct` instead of building
it ourselves from the bytes stream. This lets us remove a few array
accesses and results in shorter code.
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251029-nova-vbios-frombytes-v1-3-ac441ebc1de3@nvidia.com>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions
