diff options
| author | Dan Carpenter <[email protected]> | 2023-06-06 08:33:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 16:41:48 +0000 |
| commit | b7588507152148eaf0f19feb98c65b72ab40a726 (patch) | |
| tree | 127da41583118e31bbfdb1851ce5ab7a516f08b7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | |
| parent | drm/amdgpu: display/Kconfig: replace leading spaces with tab (diff) | |
| download | kernel-b7588507152148eaf0f19feb98c65b72ab40a726.tar.gz kernel-b7588507152148eaf0f19feb98c65b72ab40a726.zip | |
drm/amd/pm: Fix memory some memory corruption
The "od_table" is a pointer to a large struct, but this code is doing
pointer math as if it were pointing to bytes. It results in writing
far outside the struct.
Fixes: 2e8452ea4ef6 ("drm/amd/pm: fulfill the OD support for SMU13.0.0")
Fixes: 2a9aa52e4617 ("drm/amd/pm: fulfill the OD support for SMU13.0.7")
Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions
