aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
diff options
context:
space:
mode:
authorTom St Denis <[email protected]>2019-06-14 15:47:21 +0000
committerAlex Deucher <[email protected]>2019-06-20 16:32:24 +0000
commitc1d827d62f71eb6eaa0b2ffad4d893faa99e4c87 (patch)
tree679895efa8a73ebb81278f758bbfde4ced465822 /drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
parentdrm/amdgpu: Do error injection even vram reserve fails (diff)
downloadkernel-c1d827d62f71eb6eaa0b2ffad4d893faa99e4c87.tar.gz
kernel-c1d827d62f71eb6eaa0b2ffad4d893faa99e4c87.zip
drm/amd/amdgpu: cast mem->num_pages to 64-bits when shifting (v2)
On 32-bit hosts mem->num_pages is 32-bits and can overflow when shifted. Add a cast to avoid this. (v2): Style fix. Signed-off-by: Tom St Denis <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c')
0 files changed, 0 insertions, 0 deletions