diff options
| author | Timur Tabi <ttabi@nvidia.com> | 2026-07-31 15:10:11 -0500 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-08-06 01:50:42 +0200 |
| commit | e6c2c62655211e2ad507209b02b99db6dec05630 (patch) | |
| tree | 0e98db1b67b46a656925464a737d8606dbaf33c3 /tools/perf/scripts/python | |
| parent | 60782beb112ee1514ea7888adc9a53dc370fc522 (diff) | |
rust: firmware: add request_into_buf()
Add request_into_buf(), a Rust wrapper around the
request_firmware_into_buf() function. This variant loads the firmware
image directly into a caller-provided buffer rather than a
kernel-allocated one.
Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260731201017.2580713-3-ttabi@nvidia.com
[ Declare fw as *const to match the FFI out-parameter type and pass
&raw mut directly, removing the redundant cast chain. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
