]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix overflowed array index read warning
authorTim Huang <Tim.Huang@amd.com>
Thu, 25 Apr 2024 05:15:27 +0000 (13:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:59:03 +0000 (09:59 -0400)
commitebbc2ada5c636a6a63d8316a3408753768f5aa9f
treec1c55f996477d773e8b81c893b40ed484109f8b0
parent22a5daaec0660dd19740c4c6608b78f38760d1e6
drm/amdgpu: fix overflowed array index read warning

Clear overflowed array index read warning by cast operation.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c