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-09 20:54:35 +0000
commita441d7ea5c7b60943b8873d044eaa858b0caadf0 (patch)
tree9c7ee846b5c868442bf666bda91bf4e2f77f7401 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: Fix size overflow (diff)
downloadkernel-a441d7ea5c7b60943b8873d044eaa858b0caadf0.tar.gz
kernel-a441d7ea5c7b60943b8873d044eaa858b0caadf0.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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions