diff options
author | Alex Deucher <[email protected]> | 2024-04-14 22:06:08 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-04-17 11:50:43 -0400 |
commit | 0ba753bc7e79e49556e81b0d09b2de1aa558553b (patch) | |
tree | 14ca29432841e2af2b4ebdd6e3e700c427cb8af8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a6ff969fe9cbf369e3cd0ac54261fec1122682ec (diff) |
drm/radeon: make -fstrict-flex-arrays=3 happy
The driver parses a union where the layout up through the first
array is the same, however, the array has different sizes
depending on the elements in the union. Be explicit to
fix the UBSAN checker.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3323
Fixes: df8fc4e934c1 ("kbuild: Enable -fstrict-flex-arrays=3")
Acked-by: Christian König <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions