diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2023-10-04 15:22:52 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-28 16:46:31 +0000 |
| commit | cfd8cd907fd94538561479a43aea455f5cf16928 (patch) | |
| tree | 27cd54a218d1039120015a0380770cd23a88fd3a /kernel | |
| parent | 6762e5af243ce6e16817191535f1f2ba94f68474 (diff) | |
drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
[ Upstream commit 760efbca74a405dc439a013a5efaa9fadc95a8c3 ]
For pptable structs that use flexible array sizes, use flexible arrays.
Suggested-by: Felix Held <felix.held@amd.com>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2874
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
