aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2020-07-24 21:36:24 +0000
committerGreg Kroah-Hartman <[email protected]>2020-07-25 10:06:33 +0000
commit4fb60b158afd3ac9e0fe9975aa476213f5cc0a4d (patch)
treed4a428a0821643d6d7f320d3a735dd9a978e139e /drivers/fpga/xilinx-spi.c
parentselftest/firmware: Add selftest timeout in settings (diff)
downloadkernel-4fb60b158afd3ac9e0fe9975aa476213f5cc0a4d.tar.gz
kernel-4fb60b158afd3ac9e0fe9975aa476213f5cc0a4d.zip
firmware_loader: EFI firmware loader must handle pre-allocated buffer
The EFI platform firmware fallback would clobber any pre-allocated buffers. Instead, correctly refuse to reallocate when too small (as already done in the sysfs fallback), or perform allocation normally when needed. Fixes: e4c2c0ff00ec ("firmware: Add new platform fallback mechanism and firmware_request_platform()") Cc: [email protected] Acked-by: Scott Branden <[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 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions