Re: [PATCH v7 2/8] firmware: add offset to request_firmware_into_buf

2020-06-09 Thread Matthew Wilcox
On Fri, Jun 05, 2020 at 10:04:52PM -0700, Scott Branden wrote: > static struct fw_priv *__allocate_fw_priv(const char *fw_name, > struct firmware_cache *fwc, > - void *dbuf, size_t size) > +

[PATCH v7 2/8] firmware: add offset to request_firmware_into_buf

2020-06-05 Thread Scott Branden
Add offset to request_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 +++