Re: [PATCH] drm/amd/pm: make power values signed

2023-11-10 Thread José Pekkarinen
On 2023-11-10 10:25, Lazar, Lijo wrote: On 11/9/2023 2:11 PM, José Pekkarinen wrote: The following patch will convert the power values returned by amdgpu_hwmon_get_power to signed, fixing the following warnings reported by coccinelle: drivers/gpu/drm/amd/pm/amdgpu_pm.c:2801:5-8: WARNING:

Re: [PATCH] drm/amd/pm: make power values signed

2023-11-10 Thread Lazar, Lijo
On 11/9/2023 2:11 PM, José Pekkarinen wrote: The following patch will convert the power values returned by amdgpu_hwmon_get_power to signed, fixing the following warnings reported by coccinelle: drivers/gpu/drm/amd/pm/amdgpu_pm.c:2801:5-8: WARNING: Unsigned expression compared with zero:

[PATCH] drm/amd/pm: make power values signed

2023-11-09 Thread José Pekkarinen
The following patch will convert the power values returned by amdgpu_hwmon_get_power to signed, fixing the following warnings reported by coccinelle: drivers/gpu/drm/amd/pm/amdgpu_pm.c:2801:5-8: WARNING: Unsigned expression compared with zero: val < 0 drivers/gpu/drm/amd/pm/amdgpu_pm.c:2814:5-8: