aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2020-04-09 15:04:32 +0200
committerIngo Molnar <[email protected]>2020-04-14 08:32:15 +0200
commit464fb126d98a047953040cc9c754801dbda54e5d (patch)
tree5973b7c7a6f0220c075df1d7fe235355d6c6177f /tools/perf/scripts/python/bin/export-to-postgresql-report
parent8b84769a7a1505b279b337dae83d16390e83f5c1 (diff)
efi/libstub/file: Merge file name buffers to reduce stack usage
Arnd reports that commit 9302c1bb8e47 ("efi/libstub: Rewrite file I/O routine") reworks the file I/O routines in a way that triggers the following warning: drivers/firmware/efi/libstub/file.c:240:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=] We can work around this issue dropping an instance of efi_char16_t[256] from the stack frame, and reusing the 'filename' field of the file info struct that we use to obtain file information from EFI (which contains the file name even though we already know it since we used it to open the file in the first place) Reported-by: Arnd Bergmann <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions