diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2019-06-14 11:47:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-20 11:32:24 -0500 |
commit | c1d827d62f71eb6eaa0b2ffad4d893faa99e4c87 (patch) | |
tree | 679895efa8a73ebb81278f758bbfde4ced465822 /ipc/msg.c | |
parent | acb05f0a3f6261b330034e14e4d2c6b4bc896504 (diff) |
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 <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions