drm/amdgpu: use %u rather than %d for sclk/mclk
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 16:00:08 +0000 (12:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Jul 2020 16:02:58 +0000 (12:02 -0400)
commit2a80f883988862dc2c52f79291ed38388246cf36
tree644b4c671a27f73f44122bc33c6bb624c3eac8e8
parent836dab8519032e641d512c7d19cbc4caf8d7f810
drm/amdgpu: use %u rather than %d for sclk/mclk

Large clock values may overflow and show up as negative.

Reported by prOMiNd on IRC.

Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c