diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2018-11-25 06:46:23 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-11-28 22:38:33 +0300 |
commit | 9ce2b991f7ea45b913c3c391bb652dd95dd78876 (patch) | |
tree | 2d2280cddb9fbb92849a7910c64d8718afde9cc2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 04ac4b0ed412f65230b456fcd9aa07e13befff89 (diff) | |
download | linux-9ce2b991f7ea45b913c3c391bb652dd95dd78876.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions