]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75f0dd2426268fcb786b652fe35fc69adbfbd1d7
tree00e459b6a50f82f2d03188638106243780ec889d
parentee7cc3ab495292b8984af4c4c7120685e9afd199
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