diff options
| author | 2021-04-07 19:29:39 +0800 | |
|---|---|---|
| committer | 2021-04-09 16:54:13 -0400 | |
| commit | b16e685725a92bd7fd8496e38468622caf743771 (patch) | |
| tree | 84ba794628ebf72c79085c543692bba9ed0791c4 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/amdgpu: move mmhub ras_func init to ip specific file (diff) | |
| download | linux-dev-b16e685725a92bd7fd8496e38468622caf743771.tar.xz linux-dev-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 <xinhui.pan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
