diff options
author | Young Xiao <YangX92@hotmail.com> | 2018-11-27 11:50:17 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-11-28 15:55:37 -0500 |
commit | b3f4bdda998be6018b76f46b852313ae74db5606 (patch) | |
tree | 16caed96b72ab97dcc4ad8d097a7b0a26e02ab50 /drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c | |
parent | ce99814973ac8bd94e371a65c023efc4703af6f6 (diff) | |
download | linux-b3f4bdda998be6018b76f46b852313ae74db5606.tar.gz linux-b3f4bdda998be6018b76f46b852313ae74db5606.tar.bz2 linux-b3f4bdda998be6018b76f46b852313ae74db5606.zip |
drm: radeon: fix overflow on 32bit systems
the type mem->start is unsigned long, so this can overflow on
32bit system, since the type addr is uint64_t.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Young Xiao <YangX92@hotmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c')
0 files changed, 0 insertions, 0 deletions