diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2026-06-08 17:14:38 +0300 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-06-09 05:13:23 +0300 |
| commit | 506bb8742ea52da13f9f281c5cb2b603ac1931e7 (patch) | |
| tree | 3d8521950d137a9ab38233e1aab74ccbb46b6940 /include/linux/debugobjects.h | |
| parent | 54e792604436e78e124cbde4fc5bf4bbf68fa5ef (diff) | |
| download | linux-506bb8742ea52da13f9f281c5cb2b603ac1931e7.tar.xz | |
gpu: nova-core: firmware: parse `FalconUCodeDescV2` via `zerocopy`
Now that we have `zerocopy` support, we can avoid some `unsafe` code.
For instance, for `FalconUCodeDescV2`, we can replace the `unsafe impl
FromBytes` by safely deriving `zerocopy`'s `FromBytes` and then calling
`read_from_prefix`.
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260608141439.182634-20-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
