diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-04-15 05:06:08 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-17 18:50:43 +0300 |
commit | 0ba753bc7e79e49556e81b0d09b2de1aa558553b (patch) | |
tree | 14ca29432841e2af2b4ebdd6e3e700c427cb8af8 /drivers/i2c | |
parent | a6ff969fe9cbf369e3cd0ac54261fec1122682ec (diff) | |
download | linux-0ba753bc7e79e49556e81b0d09b2de1aa558553b.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/i2c')
0 files changed, 0 insertions, 0 deletions