summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/evergreen_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2024-04-15 05:06:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-04-17 05:39:16 +0300
commit69c0f070531cc9136576c53a6fc27992b88088ea (patch)
tree097ae48c20660426fc1beff1b91a538f903f5540 /drivers/gpu/drm/radeon/evergreen_reg.h
parent0c1195ca0d02a3db2599738a944bb6a36f6fa234 (diff)
downloadlinux-69c0f070531cc9136576c53a6fc27992b88088ea.tar.xz
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 <christian.koenig@amd.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen_reg.h')
0 files changed, 0 insertions, 0 deletions