aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2023-05-22 00:30:15 -0700
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 10:45:46 -0400
commit6dabce860d40703d7c27b71a120317f09293cf9c (patch)
tree6a555a47e86f7e25a96de958d85f4d69a19a589c /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parent9f77af014cbc3b77a2f5b8cbce8262ff97e94aa7 (diff)
downloadlinux-6dabce860d40703d7c27b71a120317f09293cf9c.tar.gz
linux-6dabce860d40703d7c27b71a120317f09293cf9c.tar.bz2
linux-6dabce860d40703d7c27b71a120317f09293cf9c.zip
drm/amdgpu: Fix unsigned comparison with zero in gmc_v9_0_process_interrupt()
Smatch warns: drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:579: unsigned 'xcc_id' is never less than zero. gfx_v9_4_3_ih_to_xcc_inst() returns negative numbers as well. Fix this by changing type of xcc_id to int. Fixes: 98b2e9cad227 ("drm/amdgpu: correct the vmhub index when page fault occurs") Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions