]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu/atomfirmware: Silence UBSAN warning
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Sep 2024 14:42:45 +0000 (10:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Sep 2024 21:27:17 +0000 (17:27 -0400)
commit17ea4383649fdeaff3181ddcf1ff03350d42e591
treeaa854030ee3950d9097320035b07069f64f820ee
parent8409fb50ce48d66cf9dc5391f03f05c56c430605
drm/amdgpu/atomfirmware: Silence UBSAN warning

Per the comments, these are variable sized arrays.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3613
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 81f7804ba84ee617ed594de934ed87bcc4f83531)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/include/atomfirmware.h