diff options
author | Scott Branden <[email protected]> | 2020-10-02 10:38:28 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-10-05 13:37:04 +0200 |
commit | 5d90e05c0e83ee5c67fdba1fa56e590103aac9fd (patch) | |
tree | 4bb05f7145d4a98ce3b701d59121596230f4125c /scripts/gen_compile_commands.py | |
parent | 59cdb23ca2dfef3b93411d1105409dfe9cd1f62f (diff) |
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 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions