mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()
commit6769a23697upstream. The "instance" variable needs to be signed for the error handling to work. Fixes:8b2faf1a4f("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>
This commit is contained in:
parent
c18e82d3ee
commit
e8dfbf83a8
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue