Re: [PATCH v2] drm/amdgpu: fix the overflowed constant warning for RREG32_SOC15()

2024-06-04 Thread Christian König
Am 04.06.24 um 09:08 schrieb Bob Zhou: To fix potential overflowed constant warning reported by Coverity, modify the variables to uint32_t. Signed-off-by: Bob Zhou Acked-by: Christian König --- drivers/gpu/drm/amd/amdgpu/imu_v12_0.c | 7 --- 1 file changed, 4 insertions(+), 3 deleti

[PATCH v2] drm/amdgpu: fix the overflowed constant warning for RREG32_SOC15()

2024-06-04 Thread Bob Zhou
To fix potential overflowed constant warning reported by Coverity, modify the variables to uint32_t. Signed-off-by: Bob Zhou --- drivers/gpu/drm/amd/amdgpu/imu_v12_0.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/imu_v12_0.c b/drivers/gpu