diff options
author | Scott Branden <scott.branden@broadcom.com> | 2020-10-02 20:38:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-05 14:37:04 +0300 |
commit | 5d90e05c0e83ee5c67fdba1fa56e590103aac9fd (patch) | |
tree | 4bb05f7145d4a98ce3b701d59121596230f4125c /drivers/w1/slaves | |
parent | 59cdb23ca2dfef3b93411d1105409dfe9cd1f62f (diff) | |
download | linux-5d90e05c0e83ee5c67fdba1fa56e590103aac9fd.tar.xz |
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 <scott.branden@broadcom.com>
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20201002173828.2099543-17-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/slaves')
0 files changed, 0 insertions, 0 deletions