diff options
| author | xinhui pan <xinhui.pan@amd.com> | 2021-04-07 15:57:50 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-08 07:36:40 +0300 |
| commit | 2efc021060c2aa55e1e8f7b98249d3ea63232fc7 (patch) | |
| tree | d0765e94bf486398c56ec3cb251b02ece57fd924 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 1b0b6e939f112949089e32ec89fd27796677263a (diff) | |
| download | linux-2efc021060c2aa55e1e8f7b98249d3ea63232fc7.tar.xz | |
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 <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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
