diff options
| author | Kees Cook <[email protected]> | 2024-03-04 13:19:45 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-05 13:59:43 +0000 |
| commit | 7ba59ac7da2aae2fbcfe90352ee40d30cecca10d (patch) | |
| tree | 70ada7e0c73c7c7d99542efe100a6790abaf1d3b /tools/perf/scripts/python/libxed.py | |
| parent | 34164202a5827f60a203ca9acaf2d9f7d432aac8 (diff) | |
greybus: Avoid fake flexible array for response data
FORTIFY_SOURCE has been ignoring 0-sized destinations while the kernel
code base has been converted to flexible arrays. In order to enforce
the 0-sized destinations (e.g. with __counted_by), the remaining 0-sized
destinations need to be handled. Instead of converting an empty struct
into using a flexible array, just directly use a pointer without any
additional indirection. Remove struct gb_bootrom_get_firmware_response
and struct gb_fw_download_fetch_firmware_response.
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions