diff options
author | xinhui pan <xinhui.pan@amd.com> | 2021-04-07 19:29:39 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-08 00:36:40 -0400 |
commit | 1b0b6e939f112949089e32ec89fd27796677263a (patch) | |
tree | 5d5f2d50f79cfdb5a026d5d8ba41f7aba934f092 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | df7232c4c676be29f1cf45058ec156c1183539ff (diff) |
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions