]> git.itanic.dy.fi Git - linux-stable/commit
drm/radeon: silence UBSAN warning (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Apr 2024 17:30:15 +0000 (13:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 15:50:43 +0000 (11:50 -0400)
commit781d41fed19caf900c8405064676813dc9921d32
tree92db5174d90b98be065eede4220300a38484a088
parent0ba753bc7e79e49556e81b0d09b2de1aa558553b
drm/radeon: silence UBSAN warning (v3)

Convert a variable sized array from [1] to [].

v2: fix up a few more.
v3: integrate comments from Kees.

Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Jeff Johnson <quic_jjohnson@quicinc.com> (v2)
Acked-by: Christian König <christian.koenig@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: keescook@chromium.org
drivers/gpu/drm/radeon/pptable.h