Re: [PATCH v10 3/9] firmware: add request_partial_firmware_into_buf

2020-07-07 Thread Scott Branden
On 2020-07-07 4:58 p.m., Kees Cook wrote: On Mon, Jul 06, 2020 at 04:23:03PM -0700, Scott Branden wrote: Add request_partial_firmware_into_buf to allow for portions of firmware file to be read into a buffer. Necessary where firmware needs to be loaded in portions from file in memory constrai

Re: [PATCH v10 3/9] firmware: add request_partial_firmware_into_buf

2020-07-07 Thread Kees Cook
On Mon, Jul 06, 2020 at 04:23:03PM -0700, Scott Branden wrote: > Add request_partial_firmware_into_buf to allow for portions > of firmware file to be read into a buffer. Necessary where firmware > needs to be loaded in portions from file in memory constrained systems. Just tear out the differing

[PATCH v10 3/9] firmware: add request_partial_firmware_into_buf

2020-07-06 Thread Scott Branden
Add request_partial_firmware_into_buf to allow for portions of firmware file to be read into a buffer. Necessary where firmware needs to be loaded in portions from file in memory constrained systems. Signed-off-by: Scott Branden --- drivers/base/firmware_loader/firmware.h | 5 ++ drivers/base/