aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorxinhui pan <[email protected]>2021-04-07 12:57:50 +0000
committerAlex Deucher <[email protected]>2021-04-08 04:36:40 +0000
commit2efc021060c2aa55e1e8f7b98249d3ea63232fc7 (patch)
treed0765e94bf486398c56ec3cb251b02ece57fd924 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: Fix size overflow (diff)
downloadkernel-2efc021060c2aa55e1e8f7b98249d3ea63232fc7.tar.gz
kernel-2efc021060c2aa55e1e8f7b98249d3ea63232fc7.zip
drm/radeon: Fix size overflow
ttm->num_pages is uint32. Hit overflow when << PAGE_SHIFT directly Fixes: 230c079fdcf4 ("drm/ttm: make num_pages uint32_t") Signed-off-by: xinhui pan <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions