summaryrefslogtreecommitdiff
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2018-11-24 22:46:23 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-11-28 14:38:33 -0500
commit9ce2b991f7ea45b913c3c391bb652dd95dd78876 (patch)
tree2d2280cddb9fbb92849a7910c64d8718afde9cc2 /mm/compaction.c
parent04ac4b0ed412f65230b456fcd9aa07e13befff89 (diff)
drm/amdgpu: Cast to uint64_t before left shift
Avoid potential integer overflows with left shift in huge-page mapping code by casting the operand to uin64_t first. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions