Commit 6769a236 authored by Dan Carpenter's avatar Dan Carpenter Committed by Alex Deucher
Browse files

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: 8b2faf1a ("drm/amdgpu: add error handle to avoid out-of-bounds")
Reviewed-by: default avatarBob Zhou <bob.zhou@amd.com>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e8a31b4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment