]> www.infradead.org Git - users/hch/misc.git/commit
drm/amdgpu: fix the overflowed constant warning for RREG32_SOC15()
authorBob Zhou <bob.zhou@amd.com>
Tue, 4 Jun 2024 07:08:29 +0000 (15:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:15:59 +0000 (16:15 -0400)
commit37f432481d6ba2077eff1b988b58a18fa87831b7
tree1aa159ded8b6b286f0a06776c5652f3eefcbd24c
parent18f2525d31401e5142db95ff3a6ec0f4147be818
drm/amdgpu: fix the overflowed constant warning for RREG32_SOC15()

To fix potential overflowed constant warning reported by Coverity,
modify the variables to uint32_t.

Signed-off-by: Bob Zhou <bob.zhou@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/imu_v12_0.c