diff options
| author | Daniel del Castillo <delcastillodelarosadaniel@gmail.com> | 2025-11-04 20:37:48 +0100 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2025-11-07 23:10:44 +0900 |
| commit | 473f778592e499c0dd0e1dd9fce8eb80923355d9 (patch) | |
| tree | 69d5286f07f9b9f953c6325e857571e03df74c7f /rust/kernel/processor.rs | |
| parent | 173c99b85aa05387fcfb3231293124c5d611d167 (diff) | |
gpu: nova-core: Simplify `transmute` and `transmute_mut` in fwsec.rs
This patch solves one of the existing mentions of COHA, a task
in the Nova task list about improving the `CoherentAllocation` API.
It uses the new `from_bytes` method from the `FromBytes` trait as
well as the `as_slice` and `as_slice_mut` methods from
`CoherentAllocation`.
Signed-off-by: Daniel del Castillo <delcastillodelarosadaniel@gmail.com>
[acourbot@nvidia.com: set prefix to "gpu: nova-core:".]
[acourbot@nvidia.com: fix merge conflict after imports refactor.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251104193756.57726-1-delcastillodelarosadaniel@gmail.com>
Diffstat (limited to 'rust/kernel/processor.rs')
0 files changed, 0 insertions, 0 deletions
