drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()
commit 6769a236 upstream. 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:Bob Zhou <bob.zhou@amd.com> Signed-off-by:
Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Cc: Siddh Raman Pant <siddh.raman.pant@oracle.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment