diff options
| author | Scott Branden <[email protected]> | 2020-10-02 17:38:28 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-05 11:37:04 +0000 |
| commit | 5d90e05c0e83ee5c67fdba1fa56e590103aac9fd (patch) | |
| tree | 4bb05f7145d4a98ce3b701d59121596230f4125c /drivers/base/firmware_loader/fallback.c | |
| parent | firmware: Add request_partial_firmware_into_buf() (diff) | |
| download | kernel-5d90e05c0e83ee5c67fdba1fa56e590103aac9fd.tar.gz kernel-5d90e05c0e83ee5c67fdba1fa56e590103aac9fd.zip | |
test_firmware: Test partial read support
Add additional hooks to test_firmware to pass in support
for partial file read using request_firmware_into_buf():
buf_size: size of buffer to request firmware into
partial: indicates that a partial file request is being made
file_offset: to indicate offset into file to request
Also update firmware selftests to use the new partial read test API.
Signed-off-by: Scott Branden <[email protected]>
Co-developed-by: Kees Cook <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/fallback.c')
0 files changed, 0 insertions, 0 deletions
