diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-04-28 15:57:00 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-30 10:01:53 -0400 |
commit | 6769a23697f17f9bf9365ca8ed62fe37e361a05a (patch) | |
tree | 099de2ed69e82ebd639b140380752183b8a562aa /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
parent | e8a31b4e811a04e5d83dc036fa9542210867b7ca (diff) |
drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()
The "instance" variable needs to be signed for the error handling to work.
Fixes: 8b2faf1a4f3b ("drm/amdgpu: add error handle to avoid out-of-bounds")
Reviewed-by: Bob Zhou <bob.zhou@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions