On 2020-07-07 4:59 p.m., Kees Cook wrote:
On Mon, Jul 06, 2020 at 04:23:04PM -0700, Scott Branden wrote:
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
Signed-off-by: Scott Branden <scott.branden@xxxxxxxxxxxx>
I am a fan of tests. :) If Luis gives an Ack here, you're good.
There were not even any tests for request_firmware_into_buf before I
started this partial read support.
Fortunately those base changes have already been accepted so I think
this change is a simple addition to those accepted patches.