diff options
| author | Ma Jun <Jun.Ma2@amd.com> | 2024-04-25 14:00:17 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-08 15:17:05 -0400 |
| commit | be1684930f5262a622d40ce7a6f1423530d87f89 (patch) | |
| tree | 1bb7ea659489f430d1b0998e70f90951fe14577f /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | drm/amd/amdxcp: Fix warnings (diff) | |
| download | linux-be1684930f5262a622d40ce7a6f1423530d87f89.tar.gz linux-be1684930f5262a622d40ce7a6f1423530d87f89.zip | |
drm/amdgpu: Fix out-of-bounds write warning
Check the ring type value to fix the out-of-bounds
write warning
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
