aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorxinhui pan <[email protected]>2021-04-07 11:29:39 +0000
committerAlex Deucher <[email protected]>2021-04-09 20:54:13 +0000
commitb16e685725a92bd7fd8496e38468622caf743771 (patch)
tree84ba794628ebf72c79085c543692bba9ed0791c4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: move mmhub ras_func init to ip specific file (diff)
downloadkernel-b16e685725a92bd7fd8496e38468622caf743771.tar.gz
kernel-b16e685725a92bd7fd8496e38468622caf743771.zip
drm/amdgpu: 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