drm/amd/pp: fix typecast error in powerplay.
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 17 Nov 2017 08:41:16 +0000 (16:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Nov 2017 23:20:24 +0000 (18:20 -0500)
commit8d8258bdab735d9f3c4b78e091ecfbb2b2b1f2ca
tree00e459b6a50f82f2d03188638106243780ec889d
parent18c437caa5b18a235dd65cec224eab54bebcee65
drm/amd/pp: fix typecast error in powerplay.

resulted in unexpected data truncation

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c