RE: [PATCH] drm/amdgpu: replace int with unsigned int for imu_v12_0.c

2024-06-03 Thread Zhou, Bob
, Bob -Original Message- From: Koenig, Christian Sent: 2024年6月3日 19:11 To: Zhou, Bob ; amd-gfx@lists.freedesktop.org; Huang, Tim ; Zhang, Jesse(Jie) Cc: Deucher, Alexander Subject: Re: [PATCH] drm/amdgpu: replace int with unsigned int for imu_v12_0.c Am 03.06.24 um 10:53 schrieb Zhou

Re: [PATCH] drm/amdgpu: replace int with unsigned int for imu_v12_0.c

2024-06-03 Thread Christian König
est to use either uint32_t or u32 instead. Regards, Christian. Regards, Bob -Original Message- From: Koenig, Christian Sent: 2024年6月3日 15:56 To: Zhou, Bob ; amd-gfx@lists.freedesktop.org; Huang, Tim ; Zhang, Jesse(Jie) Cc: Deucher, Alexander Subject: Re: [PATCH] drm/amdgpu: replac

RE: [PATCH] drm/amdgpu: replace int with unsigned int for imu_v12_0.c

2024-06-03 Thread Zhou, Bob
; Huang, Tim ; Zhang, Jesse(Jie) Cc: Deucher, Alexander Subject: Re: [PATCH] drm/amdgpu: replace int with unsigned int for imu_v12_0.c Am 03.06.24 um 07:59 schrieb Bob Zhou: > The return value of RREG32_SOC15 is unsigned int, so modify variable to > unsigned. And why is that an impro

Re: [PATCH] drm/amdgpu: replace int with unsigned int for imu_v12_0.c

2024-06-03 Thread Christian König
Am 03.06.24 um 07:59 schrieb Bob Zhou: The return value of RREG32_SOC15 is unsigned int, so modify variable to unsigned. And why is that an improvement? Regards, Christian. Signed-off-by: Bob Zhou --- drivers/gpu/drm/amd/amdgpu/imu_v12_0.c | 6 +++--- 1 file changed, 3 insertions(+), 3