drm/amdgpu: convert some variable sized arrays to [] style
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jan 2024 23:09:00 +0000 (18:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jan 2024 19:49:07 +0000 (14:49 -0500)
commit4953be13bebb3e6c9dffcfe0714de553155cac90
tree2f223dbea5864932144fa9707fbb00ed8aa1f9cc
parentfc8f5a29d4cf0979ac4019282c3ca5cb246969f9
drm/amdgpu: convert some variable sized arrays to [] style

Replace [1] with [].  Silences UBSAN warnings.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3107
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/pptable.h